circuitpython/tests/basics/import-pkg4.py
Paul Sokolovsky 2ff3d9d0b2 builtinimport: Set __path__ attribute ASAP as it's clear we have a package.
This helps with handling "recursive" imports in sane manner, for example
when foo/__init__.py has something like "from foo import submod".
2014-04-12 02:55:18 +03:00

3 lines
89 B
Python

# Testing that "recursive" imports (pkg2/__init__.py imports from pkg2) work
import pkg2