micropython/tests/import/rel_import_inv.py

5 lines
79 B
Python

try:
from . import foo
except:
print("Invalid relative import caught")