diff options
author | R. David Murray <rdmurray@bitdance.com> | 2009-12-20 16:46:06 +0000 |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2009-12-20 16:46:06 +0000 |
commit | 77e48ba993a83ffd6e821ab69a09ab0d11771338 (patch) | |
tree | 699e1896c4c33348d9e4345dc11b7770de5efd62 /Python/pythonrun.c | |
parent | 97138117b2a24c748dd2bd7e92843040700b0fd5 (diff) | |
download | cpython-git-77e48ba993a83ffd6e821ab69a09ab0d11771338.tar.gz |
Issue #7376: When called with no arguments doctest was running a
self-test. Because of a change to the way tracebacks are printed,
this self-test was failing. The test is run (and passes) during normal
regression testing. So instead of running the failing self-test this
patch makes doctest emit a usage message. This is better behavior anyway
since passing in arguments is the real reason to run doctest as a command.
Bug discovery and initial patch by Florent Xicluna.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions