diff options
author | Thomas Wouters <thomas@python.org> | 2006-04-18 21:41:36 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2006-04-18 21:41:36 (GMT) |
commit | 08a1a9fac7d754207ac339e1828a789d0462dfd4 (patch) | |
tree | fe2ab3b47a92528595ebf0a8b3d11a7be9f8d4e4 /Lib/test/test_pkg.py | |
parent | 7ea7d90dbe98788609949d21abeea0e5830f2ccf (diff) | |
download | cpython-08a1a9fac7d754207ac339e1828a789d0462dfd4.zip cpython-08a1a9fac7d754207ac339e1828a789d0462dfd4.tar.gz cpython-08a1a9fac7d754207ac339e1828a789d0462dfd4.tar.bz2 |
Use explicit relative import for an, ehm, relative import.
Diffstat (limited to 'Lib/test/test_pkg.py')
-rw-r--r-- | Lib/test/test_pkg.py | 2 |
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 |