Commit 8485b562 authored by Tim Peters's avatar Tim Peters

Edward Loper's cool and massive refactoring of doctest.py, merged from

the tim-doctest-merge-24a2 tag on the the tim-doctest-branch branch.
We did development on the branch in case it wouldn't land in time for
2.4a2, but the branch looked good:  Edward's tests passed there, ditto
Python's tests, and ditto the Zope3 tests.  Together, those hit doctest
heavily.
parent c81c695d
This diff is collapsed.
This diff is collapsed.
...@@ -83,6 +83,17 @@ Extension modules ...@@ -83,6 +83,17 @@ Extension modules
Library Library
------- -------
- Thanks to Edward Loper, doctest has been massively refactored, and
many new features were added. Full docs will appear later. For now
the doctest module comments and new test cases give good coverage.
The refactoring provides many hook points for customizing behavior
(such as how to report errors, and how to compare expected to actual
output). New features include a <BLANKLINE> marker for expected
output containing blank lines, options to produce unified or context
diffs when actual output doesn't match expectations, an option to
normalize whitespace before comparing, and an option to use an
ellipsis to signify "don't care" regions of output.
- Tkinter now supports the wish -sync and -use options. - Tkinter now supports the wish -sync and -use options.
- The following methods in time support passing of None: ctime(), gmtime(), - The following methods in time support passing of None: ctime(), gmtime(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment