Skip to content

Commit d185e39

Browse files
committed
Address comment
1 parent 420dae5 commit d185e39

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/smoke_test/smoke_test.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def stateful_dataloader_test():
3030
options = parser.parse_args()
3131
if options.s3:
3232
s3_test()
33-
34-
if torchdata.__version__ >= "0.8.0":
35-
stateful_dataloader_test()
33+
34+
if torchdata.__version__ != "0.8.0":
35+
raise Exception("TorchData version is not 0.8.0")
36+
stateful_dataloader_test()

0 commit comments

Comments
 (0)