tests: Add test for relative import without package context.
This commit is contained in:
parent
c4045f57e3
commit
9896314f5b
|
@ -0,0 +1,4 @@
|
|||
try:
|
||||
from . import foo
|
||||
except:
|
||||
print("Invalid relative import caught")
|
Loading…
Reference in New Issue