Kaydet (Commit) ffd85c81 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Improve debugging output for test failure

üst 049242b8
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment