diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-27 19:04:05 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-27 19:04:05 (GMT) |
commit | ffd85c81820ad643a5c4524c08891c0f929f84d8 (patch) | |
tree | ff0493a046c963f5d89ca24a10ab4d3cba965b92 | |
parent | 049242b87c2855cebb9bbb8f8395eaed3430e653 (diff) | |
download | cpython-ffd85c81820ad643a5c4524c08891c0f929f84d8.zip cpython-ffd85c81820ad643a5c4524c08891c0f929f84d8.tar.gz cpython-ffd85c81820ad643a5c4524c08891c0f929f84d8.tar.bz2 |
Improve debugging output for test failure
-rw-r--r-- | Lib/test/test_imp.py | 2 |
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') |