diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-22 01:46:58 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-22 01:46:58 (GMT) |
commit | 658d1963e1691357f53f89c466cedb150c1d992a (patch) | |
tree | 2b54d147357184926318cc98fc3f1153a3bb4a00 /Lib | |
parent | 037615e1ef0784f5602393ce5fa6802811ae1559 (diff) | |
download | cpython-658d1963e1691357f53f89c466cedb150c1d992a.zip cpython-658d1963e1691357f53f89c466cedb150c1d992a.tar.gz cpython-658d1963e1691357f53f89c466cedb150c1d992a.tar.bz2 |
Additional debug info in case of failure
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_imp.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py index 90ccd7e..4d690e8 100644 --- a/Lib/test/test_imp.py +++ b/Lib/test/test_imp.py @@ -332,8 +332,7 @@ class PEP3147Tests(unittest.TestCase): support.unload('pep3147') m = __import__('pep3147') support.unload('pep3147') - sys.stdout.flush() - self.assertEqual(m.__file__, expected___file__, (m.__file__, m.__path__)) + self.assertEqual(m.__file__, expected___file__, (m.__file__, m.__path__, sys.path)) class NullImporterTests(unittest.TestCase): |