]> granicus.if.org Git - python/commit
- DocTest is now a simple container class; its constructor is no longer
authorEdward Loper <edloper@gradient.cis.upenn.edu>
Mon, 9 Aug 2004 16:14:41 +0000 (16:14 +0000)
committerEdward Loper <edloper@gradient.cis.upenn.edu>
Mon, 9 Aug 2004 16:14:41 +0000 (16:14 +0000)
commita1ef6110ba5355334431c76f6b4b3273a613aed2
tree616966ef228587b5310cce824dc2623b16d6b103
parent413ced6c226b5a89c45cf2f4da79126f75cb200b
- DocTest is now a simple container class; its constructor is no longer
  responsible for parsing the string.
- Renamed Parser to DocTestParser
- DocTestParser.get_*() now accept the string & name as command-line
  arguments; the parser's constructor is now empty.
- Added DocTestParser.get_doctest() method
- Replaced "doctest_factory" argument to DocTestFinder with a "parser"
  argument (takes a DocTestParser).
- Changed _tag_msg to take an indentation string argument.
Lib/doctest.py
Lib/test/test_doctest.py