commit | 77e48ba993a83ffd6e821ab69a09ab0d11771338 | [log] [tgz] |
---|---|---|
author | R. David Murray <rdmurray@bitdance.com> | Sun Dec 20 16:46:06 2009 +0000 |
committer | R. David Murray <rdmurray@bitdance.com> | Sun Dec 20 16:46:06 2009 +0000 |
tree | 699e1896c4c33348d9e4345dc11b7770de5efd62 | |
parent | 97138117b2a24c748dd2bd7e92843040700b0fd5 [diff] |
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.