diff --git a/tensorflow/python/data/ops/dataset_ops.py b/tensorflow/python/data/ops/dataset_ops.py index f796556202e..e67b4e84b4f 100644 --- a/tensorflow/python/data/ops/dataset_ops.py +++ b/tensorflow/python/data/ops/dataset_ops.py @@ -1212,7 +1212,7 @@ class DatasetV2(tracking_base.Trackable, composite_tensor.CompositeTensor): the cache file is removed or the filename is changed. >>> dataset = tf.data.Dataset.range(5) - >>> dataset = dataset.cache("/path/to/file) # doctest: +SKIP + >>> dataset = dataset.cache("/path/to/file") # doctest: +SKIP >>> list(dataset.as_numpy_iterator()) # doctest: +SKIP [0, 1, 2, 3, 4] >>> dataset = tf.data.Dataset.range(10)