summaryrefslogtreecommitdiffstatshomepage
path: root/unix/coverage-frzstr/frzstr_pkg2/mod.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-08 22:45:55 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-08 22:45:55 +1100
commita722ed532ff254d1ce657466b7b1aac264433f7e (patch)
treefd58df2594c9ee8ca4a5fc119e49f89294398636 /unix/coverage-frzstr/frzstr_pkg2/mod.py
parentb528e9a428f92241d2cf3bb30f78b0d65e1a8428 (diff)
downloadmicropython-a722ed532ff254d1ce657466b7b1aac264433f7e.tar.gz
micropython-a722ed532ff254d1ce657466b7b1aac264433f7e.zip
tests/unix/extra_coverage: Add tests for importing frozen packages.
Diffstat (limited to 'unix/coverage-frzstr/frzstr_pkg2/mod.py')
-rw-r--r--unix/coverage-frzstr/frzstr_pkg2/mod.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/coverage-frzstr/frzstr_pkg2/mod.py b/unix/coverage-frzstr/frzstr_pkg2/mod.py
new file mode 100644
index 0000000000..bafb5978b0
--- /dev/null
+++ b/unix/coverage-frzstr/frzstr_pkg2/mod.py
@@ -0,0 +1,4 @@
+# test frozen package without __init__.py
+print('frzstr_pkg2.mod')
+class Foo:
+ x = 1