From: Antoine Pitrou Date: Mon, 27 Feb 2012 21:01:25 +0000 (+0100) Subject: More debug output X-Git-Tag: v3.3.0a1~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a4d7ddb6c09af03953840ff8a2c1215fc6742a7;p=thirdparty%2FPython%2Fcpython.git More debug output --- diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py index c06cff92c2b0..cd34a46a18df 100644 --- a/Lib/test/test_imp.py +++ b/Lib/test/test_imp.py @@ -328,12 +328,12 @@ 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__, sys.path)) + self.assertEqual(m.__file__, expected___file__, (m.__file__, m.__path__, sys.path, sys.path_importer_cache)) # Ensure we load the pyc file. support.unload('pep3147') m = __import__('pep3147') support.unload('pep3147') - self.assertEqual(m.__file__, expected___file__, (m.__file__, m.__path__, sys.path)) + self.assertEqual(m.__file__, expected___file__, (m.__file__, m.__path__, sys.path, sys.path_importer_cache)) class NullImporterTests(unittest.TestCase):