1 parent 216a711 commit 3c582bcCopy full SHA for 3c582bc
1 file changed
tests/import/import_pkg1.py
@@ -9,3 +9,8 @@
9
print(pkg_ is not pkg.mod)
10
print(pkg_ is pkg)
11
print(pkg_.mod is pkg.mod)
12
+
13
+# import using "as"
14
+import pkg.mod as mm
15
+print(mm is pkg.mod)
16
+print(mm.foo())
0 commit comments