code: def test_save_load_known():
      dataset = tslearn.utils.to_time_series_dataset(
          [[1, 2, 3, 4], [1, 2, 3]]
      )
      tslearn.utils.save_timeseries_txt(EXAMPLE_FILE, dataset)
      reloaded_dataset = tslearn.utils.load_timeseries_txt(EXAMPLE_FILE)
      for ts0, ts1 in zip(dataset, reloaded_dataset):
          assert_allclose(
              ts0[: tslearn.utils.ts_size(ts0)],
              ts1[: tslearn.utils.ts_size(ts1)],
          )
  
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 2 for calling a global function with example usage: test_save_load_known() without return types