[issue14649] doctest.DocTestSuite error misleading when module has no docstrings
R. David Murray
report at bugs.python.org
Tue Aug 14 21:27:34 CEST 2012
R. David Murray added the comment:
That's a good question. Perhaps you could argue for it as a bug fix since it doesn't seem to be documented either way...except for the 'exclude_empty' argument of testmod. If testmod throws an error when there are no docstrings instead of returning a 0 test count or (if exclude_empty is true) skipping the module, then I think we can treat it as a bug and fix it in all active versions.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14649>
_______________________________________
More information about the Python-bugs-list
mailing list