R. David Murray added the comment:
python -m doctest does accept file arguments. Running the self-test is
the default if no arguments are supplied.
python -m doctest Lib/doctest.py passes.
So perhaps we should just remove the default and instead issue an error
message about missing arguments.
Alexander Belopolsky added the comment:
Apparently this was introduced with r51625 :
r51625 | guido.van.rossum | 2006-08-26 16:37:44 -0400 (Sat, 26 Aug 2006)
| 4 lines
Inspired by SF patch #860326, make the exception formatting by
traceback.py be closer to the built-in formatting.
A few unitt
New submission from flox :
Running on Debian Lenny, with Python 3.1.
The Python 2.5 version is OK.
~ $ python3 --version
Python 3.1.1+
~ $ python3 -m doctest
F..
==
FAIL: Doctest: __main__.DebugRunner
---