Skip to content

Commit 530a6a2

Browse files
author
Vincent Moens
committed
Update
[ghstack-poisoned]
1 parent 4e846df commit 530a6a2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/smoke_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
# LICENSE file in the root directory of this source tree.
55

66

7-
def test_imports():
7+
def test_imports_deps():
88
print("Importing numpy") # noqa
99
import numpy # noqa
1010

1111
print("Importing torch") # noqa
1212
import torch # noqa
1313

14+
def test_imports():
1415
print("Importing tensordict") # noqa
1516
from tensordict import TensorDict # noqa: F401
1617

@@ -27,4 +28,5 @@ def test_imports():
2728

2829

2930
if __name__ == "__main__":
31+
test_imports_deps()
3032
test_imports()

0 commit comments

Comments
 (0)