[issue27447] python -m doctest script_file_with_no_py_extension produces confusing NameErrors

towb report at bugs.python.org
Mon Jul 4 13:12:00 EDT 2016


towb added the comment:

Improving the documentation would also be nice, and easier. -m is mentioned in two places, first only as a shortcut for testmod, later with an explanation on name extensions and testfile. At least I didn't get that far.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27447>
_______________________________________


More information about the Python-bugs-list mailing list