Commit 08a1a9fa authored by Thomas Wouters's avatar Thomas Wouters

Use explicit relative import for an, ehm, relative import.

parent 7ea7d90d
......@@ -146,7 +146,7 @@ print "t4.sub.subsub.spam =", spam
("t5 __init__"+os.extsep+"py", "import t5.foo"),
("t5 string"+os.extsep+"py", "print __name__, 'loading'; spam = 1"),
("t5 foo"+os.extsep+"py",
"print __name__, 'loading'; import string; print string.spam"),
"print __name__, 'loading'; from . import string; print string.spam"),
],
"""
import t5
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment