Additional debug info in case of failure

This commit is contained in:
Antoine Pitrou 2012-02-22 02:46:58 +01:00
parent 037615e1ef
commit 658d1963e1

View file

@ -332,8 +332,7 @@ class PEP3147Tests(unittest.TestCase):
support.unload('pep3147')
m = __import__('pep3147')
support.unload('pep3147')
sys.stdout.flush()
self.assertEqual(m.__file__, expected___file__, (m.__file__, m.__path__))
self.assertEqual(m.__file__, expected___file__, (m.__file__, m.__path__, sys.path))
class NullImporterTests(unittest.TestCase):