5 lines
79 B
Python

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