• R. David Murray's avatar
    Issue #7376: When called with no arguments doctest was running a · 77e48ba9
    R. David Murray authored
    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.
    77e48ba9
doctest.py 98.5 KB