mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 23:50:17 +00:00
8397e8149e
git-svn-id: http://svn.pyinstaller.org/trunk@524 8dd32b29-ccff-0310-8a9a-9233e24343b1
17 lines
391 B
Python
17 lines
391 B
Python
|
|
from __future__ import absolute_import
|
|
|
|
name = 'relimp.relimp1'
|
|
|
|
from . import relimp2 as upper
|
|
from . relimp import relimp2 as lower
|
|
|
|
assert upper.name == 'relimp.relimp2'
|
|
assert lower.name == 'relimp.relimp.relimp2'
|
|
|
|
if upper.__name__ == lower.__name__:
|
|
raise SystemExit("Imported the same module")
|
|
|
|
if upper.__file__ == lower.__file__:
|
|
raise SystemExit("Imported the same file")
|