Terry J. Reedy added the comment:
The test should use the more specific assertXyz method:
self.assertIn("pprint.cover", files)
The error message would then be the more informative
AssertionError: 'pprint.cover' not found in <files listed>
----------
nosy: +terry.reedy
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue19398>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com