diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-08-04 18:46:34 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-08-04 18:46:34 (GMT) |
commit | 8485b562164304d068dfac4cee0f5108251eda55 (patch) | |
tree | 3196de7c88c8fe2396f63eb2865f271a5a9fb223 /Misc | |
parent | c81c695dc9fe57562d93e46eaf84bc8ed16db07b (diff) | |
download | cpython-8485b562164304d068dfac4cee0f5108251eda55.zip cpython-8485b562164304d068dfac4cee0f5108251eda55.tar.gz cpython-8485b562164304d068dfac4cee0f5108251eda55.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -83,6 +83,17 @@ Extension modules 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. - The following methods in time support passing of None: ctime(), gmtime(), |