BLUELOVETH há 2 anos atrás
pai
commit
857eec66f1
3 ficheiros alterados com 9 adições e 0 exclusões
  1. 1 0
      tests/test2/__init__.py
  2. 1 0
      tests/test2/_a.py
  3. 7 0
      tests/test2/_b.py

+ 1 - 0
tests/test2/__init__.py

@@ -0,0 +1 @@
+from ._a import D

+ 1 - 0
tests/test2/_a.py

@@ -0,0 +1 @@
+from ._b import D

+ 7 - 0
tests/test2/_b.py

@@ -0,0 +1,7 @@
+D = 10
+
+try:
+    import test
+    exit(1)
+except ImportError:
+    pass