From ffd85c81820ad643a5c4524c08891c0f929f84d8 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Mon, 27 Feb 2012 20:04:05 +0100 Subject: Improve debugging output for test failure --- Lib/test/test_imp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v0.12