summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-04-18 21:41:36 (GMT)
committerThomas Wouters <thomas@python.org>2006-04-18 21:41:36 (GMT)
commit08a1a9fac7d754207ac339e1828a789d0462dfd4 (patch)
treefe2ab3b47a92528595ebf0a8b3d11a7be9f8d4e4 /Lib/test
parent7ea7d90dbe98788609949d21abeea0e5830f2ccf (diff)
downloadcpython-08a1a9fac7d754207ac339e1828a789d0462dfd4.zip
cpython-08a1a9fac7d754207ac339e1828a789d0462dfd4.tar.gz
cpython-08a1a9fac7d754207ac339e1828a789d0462dfd4.tar.bz2
Use explicit relative import for an, ehm, relative import.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_pkg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pkg.py b/Lib/test/test_pkg.py
index 919a019..c365742 100644
--- a/Lib/test/test_pkg.py
+++ b/Lib/test/test_pkg.py
@@ -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