tests: Add test for relative import without package context.

This commit is contained in:
Paul Sokolovsky 2015-06-27 00:39:11 +03:00
parent c4045f57e3
commit 9896314f5b
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
try:
from . import foo
except:
print("Invalid relative import caught")