summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-02-27 19:04:05 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-02-27 19:04:05 (GMT)
commitffd85c81820ad643a5c4524c08891c0f929f84d8 (patch)
treeff0493a046c963f5d89ca24a10ab4d3cba965b92 /Lib/test
parent049242b87c2855cebb9bbb8f8395eaed3430e653 (diff)
downloadcpython-ffd85c81820ad643a5c4524c08891c0f929f84d8.zip
cpython-ffd85c81820ad643a5c4524c08891c0f929f84d8.tar.gz
cpython-ffd85c81820ad643a5c4524c08891c0f929f84d8.tar.bz2
Improve debugging output for test failure
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_imp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py
index d60e2fc..c06cff9 100644
--- a/Lib/test/test_imp.py
+++ b/Lib/test/test_imp.py
@@ -328,7 +328,7 @@ class PEP3147Tests(unittest.TestCase):
importlib.invalidate_caches()
expected___file__ = os.sep.join(('.', 'pep3147', '__init__.py'))
m = __import__('pep3147')
- self.assertEqual(m.__file__, expected___file__, (m.__file__, m.__path__))
+ self.assertEqual(m.__file__, expected___file__, (m.__file__, m.__path__, sys.path))
# Ensure we load the pyc file.
support.unload('pep3147')
m = __import__('pep3147')