summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-02-27 21:01:25 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-02-27 21:01:25 (GMT)
commit9a4d7ddb6c09af03953840ff8a2c1215fc6742a7 (patch)
tree4e3c8671c84d987625881f41028dd59eeb885d1a
parentffd85c81820ad643a5c4524c08891c0f929f84d8 (diff)
downloadcpython-9a4d7ddb6c09af03953840ff8a2c1215fc6742a7.zip
cpython-9a4d7ddb6c09af03953840ff8a2c1215fc6742a7.tar.gz
cpython-9a4d7ddb6c09af03953840ff8a2c1215fc6742a7.tar.bz2
More debug output
-rw-r--r--Lib/test/test_imp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py
index c06cff9..cd34a46 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):