[issue7376] "python -m doctest" results in FAIL: Doctest: __main__.DebugRunner

R. David Murray report at bugs.python.org
Sun Dec 20 15:51:25 CET 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

The patch results in this type of usage message:

usage: /home/rdmurray/python/trunk/Lib/doctest.py [-v] file ...

which while technically correct isn't the way I called it.  It would be
better to at least use basename on argv[0].  (I wonder if there's some
way for a module to know it was called via -m...).

----------

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


More information about the Python-bugs-list mailing list