• R. David Murray's avatar
    Merged revisions 76934-76935 via svnmerge from · 17a07220
    R. David Murray authored
    svn+ssh://pythondev@svn.python.org/python/trunk
    
    ........
      r76934 | r.david.murray | 2009-12-20 11:24:46 -0500 (Sun, 20 Dec 2009) | 2 lines
    
      Fix comment typo.
    ........
      r76935 | r.david.murray | 2009-12-20 11:46:06 -0500 (Sun, 20 Dec 2009) | 10 lines
    
      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.
    ........
    17a07220
doctest.py 96.8 KB