From 08a1a9fac7d754207ac339e1828a789d0462dfd4 Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Tue, 18 Apr 2006 21:41:36 +0000 Subject: [PATCH] Use explicit relative import for an, ehm, relative import. --- Lib/test/test_pkg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_pkg.py b/Lib/test/test_pkg.py index 919a019cabe..c3657428895 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