code: def testBasic(self, compression):
      dataset = dataset_ops.Dataset.range(42)
      self.evaluate(
          dataset.save(self._test_dir, compression=compression)
      )
      dataset2 = dataset_ops.Dataset.load(
          self._test_dir, dataset.element_spec, compression=compression
      )
      self.assertDatasetProduces(dataset2, range(42))
  
imports: import os
  import shutil
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.data.kernel_tests import checkpoint_test_base
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import combinations
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the IOTest obj's underlying member method code with example usage: obj.testBasic(compression) without return types