[issue19398] test_trace fails with -S

Terry J. Reedy report at bugs.python.org
Fri Nov 1 23:39:42 CET 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue19398>
_______________________________________


More information about the Python-bugs-list mailing list