Skip to content

Commit

Permalink
Always skip saver to avoid creating files
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenDS9 committed Mar 6, 2023
1 parent 7d9e315 commit d6aae8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torchdata/datapipes/iter/util/saver.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SaverIterDataPipe(IterDataPipe[str]):
Example:
.. testcode::
:skipif: not seperator_is_slash
:skipif: io_doctest
import os
Expand All @@ -42,7 +42,7 @@ def filepath_fn(name: str) -> str:
print(list(saver_dp))
.. testoutput::
:skipif: not seperator_is_slash
:skipif: io_doctest
['./1.txt', './2.txt', './3.txt']
Expand Down

0 comments on commit d6aae8f

Please sign in to comment.