code: def test_save_load_random():
      n, sz, d = 15, 10, 3
      rng = np.random.RandomState(0)
      dataset = rng.randn(n, sz, d)
      tslearn.utils.save_timeseries_txt(EXAMPLE_FILE, dataset)
      reloaded_dataset = tslearn.utils.load_timeseries_txt(EXAMPLE_FILE)
      assert_allclose(dataset, reloaded_dataset)
  
file_path: tslearn/tslearn/tests/test_utils.py
imports: from tempfile import gettempdir
  from os.path import join
  import numpy
  import pickle
  from numpy.testing import assert_allclose
  import pytest
  import tslearn.utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_save_load_random() without return types