[issue17464] Improve Test Coverage Of Pydoc
R. David Murray
report at bugs.python.org
Tue Mar 19 01:43:06 CET 2013
R. David Murray added the comment:
Thanks for the patch.
Rather than create and destroy a directory for every test (setUp/tearDown), it is possible to use the test.support.temp_cwd context manager to create and destroy one inside the single tests that need it.
A nit: we prefer to keep the line length to <80 (that is, max 79).
In test_getting_all_methods_from_class, why is 'method_returning_true' not in the list? I also worry that this test is a bit fragile, but I don't have a good suggestion for how to fix that, so we'll probably just have to live with it.
----------
nosy: +r.david.murray
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17464>
_______________________________________
More information about the Python-bugs-list
mailing list