circuitpython/tests/import/pkg7/subpkg1/subpkg2/mod3.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
201 B
Python
Raw Normal View History

from ... import mod1
from ...mod2 import bar
2021-03-15 09:57:36 -04:00
print(mod1.foo)
print(bar)
# attempted relative import beyond top-level package
try:
from .... import mod1
except ValueError:
2021-03-15 09:57:36 -04:00
print("ValueError")