Commit ffd85c81 authored by Antoine Pitrou's avatar Antoine Pitrou

Improve debugging output for test failure

parent 049242b8
...@@ -328,7 +328,7 @@ class PEP3147Tests(unittest.TestCase): ...@@ -328,7 +328,7 @@ class PEP3147Tests(unittest.TestCase):
importlib.invalidate_caches() importlib.invalidate_caches()
expected___file__ = os.sep.join(('.', 'pep3147', '__init__.py')) expected___file__ = os.sep.join(('.', 'pep3147', '__init__.py'))
m = __import__('pep3147') 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. # Ensure we load the pyc file.
support.unload('pep3147') support.unload('pep3147')
m = __import__('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