Skip to content

Commit 7029b88

Browse files
committed
minor fix
1 parent 9cab222 commit 7029b88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@
1212
)
1313
device_from_environ = os.environ.get("TEST_DEVICE", "cuda")
1414
with_collect_stats = os.environ.get("WITH_COLLECT_STATS", "false")
15-
TEST_DATASETS = os.environ.get("TEST_DATASETS", "false")
15+
test_datasets = os.environ.get("TEST_DATASETS", "false")
1616

1717
TEST_DTYPES = [getattr(torch, x) for x in dtypes_from_environ]
1818
TEST_DEVICE = torch.device(device_from_environ)
1919

2020
assert c_f.COLLECT_STATS is False
2121

2222
WITH_COLLECT_STATS = True if with_collect_stats == "true" else False
23+
TEST_DATASETS = True if test_datasets == "true" else False
2324
c_f.COLLECT_STATS = WITH_COLLECT_STATS
2425

2526
print(

0 commit comments

Comments
 (0)