code: def testSleep(self):
      self.skipTest("b/123597912")
      sleep_microseconds = 100
      dataset = dataset_ops.Dataset.range(10).apply(
          testing.sleep(sleep_microseconds)
      )
      next_element = self.getNext(dataset)
      start_time = time.time()
      for i in range(10):
          self.assertEqual(i, self.evaluate(next_element()))
      end_time = time.time()
      self.assertGreater(
          end_time - start_time, (10 * sleep_microseconds) / 1e6
      )
      with self.assertRaises(errors.OutOfRangeError):
          self.evaluate(next_element())
  
file_path: tensorflow-upstream/tensorflow/python/data/experimental/kernel_tests/sleep_test.py
imports: import time
  from absl.testing import parameterized
  from tensorflow.python.data.experimental.ops import testing
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import errors
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the SleepTest obj's underlying member method code with example usage: obj.testSleep() without return types