[Python-checkins] python/dist/src/Misc NEWS,1.1070,1.1071

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Wed Aug 4 20:46:44 CEST 2004


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16195/Misc

Modified Files:
	NEWS 
Log Message:
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.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1070
retrieving revision 1.1071
diff -C2 -d -r1.1070 -r1.1071
*** NEWS	4 Aug 2004 17:40:38 -0000	1.1070
--- NEWS	4 Aug 2004 18:46:34 -0000	1.1071
***************
*** 84,87 ****
--- 84,98 ----
  -------
  
+ - 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.
  



More information about the Python-checkins mailing list