We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e846df commit 530a6a2Copy full SHA for 530a6a2
1 file changed
test/smoke_test.py
@@ -4,13 +4,14 @@
4
# LICENSE file in the root directory of this source tree.
5
6
7
-def test_imports():
+def test_imports_deps():
8
print("Importing numpy") # noqa
9
import numpy # noqa
10
11
print("Importing torch") # noqa
12
import torch # noqa
13
14
+def test_imports():
15
print("Importing tensordict") # noqa
16
from tensordict import TensorDict # noqa: F401
17
@@ -27,4 +28,5 @@ def test_imports():
27
28
29
30
if __name__ == "__main__":
31
+ test_imports_deps()
32
test_imports()
0 commit comments