diff options
Diffstat (limited to 'Lib/importlib')
-rw-r--r-- | Lib/importlib/test/source/test_abc_loader.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/importlib/test/source/test_abc_loader.py b/Lib/importlib/test/source/test_abc_loader.py index 0e7408d..a237a5f 100644 --- a/Lib/importlib/test/source/test_abc_loader.py +++ b/Lib/importlib/test/source/test_abc_loader.py @@ -123,7 +123,9 @@ class PyLoaderTests(testing_abc.LoaderTests): def eq_attrs(self, ob, **kwargs): for attr, val in kwargs.items(): - self.assertEqual(getattr(ob, attr), val) + found = getattr(ob, attr) + self.assertEqual(found, val, + "{} attribute: {} != {}".format(attr, found, val)) def test_module(self): name = '<module>' |