[Python-checkins] python/dist/src/Doc/lib libdoctest.tex,1.34,1.35
edloper at users.sourceforge.net
edloper at users.sourceforge.net
Thu Aug 26 03:41:53 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19362/dist/src/Doc/lib
Modified Files:
libdoctest.tex
Log Message:
Renamed UNIFIED_DIFF->REPORT_UDIFF; CONTEXT_DIFF->REPORT_CDIFF; and
NDIFF_DIFF->REPORT_NDIFF. This establishes the naming convention that
all reporting options should begin with "REPORT_" (since reporting
options are a different class from output comparison options; but they
are both set in optionflags).
Index: libdoctest.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdoctest.tex,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- libdoctest.tex 26 Aug 2004 01:02:08 -0000 1.34
+++ libdoctest.tex 26 Aug 2004 01:41:50 -0000 1.35
@@ -344,17 +344,17 @@
is prone to in regular expressions.
\end{datadesc}
-\begin{datadesc}{UNIFIED_DIFF}
+\begin{datadesc}{REPORT_UDIFF}
When specified, failures that involve multi-line expected and
actual outputs are displayed using a unified diff.
\end{datadesc}
-\begin{datadesc}{CONTEXT_DIFF}
+\begin{datadesc}{REPORT_CDIFF}
When specified, failures that involve multi-line expected and
actual outputs will be displayed using a context diff.
\end{datadesc}
-\begin{datadesc}{NDIFF_DIFF}
+\begin{datadesc}{REPORT_NDIFF}
When specified, differences are computed by \code{difflib.Differ},
using the same algorithm as the popular \file{ndiff.py} utility.
This is the only method that marks differences within lines as
@@ -421,8 +421,8 @@
\versionchanged[Constants \constant{DONT_ACCEPT_BLANKLINE},
\constant{NORMALIZE_WHITESPACE}, \constant{ELLIPSIS},
- \constant{UNIFIED_DIFF}, \constant{CONTEXT_DIFF}, and
- \constant{NDIFF_DIFF}
+ \constant{REPORT_UDIFF}, \constant{REPORT_CDIFF}, and
+ \constant{REPORT_NDIFF}
were added; by default \code{<BLANKLINE>} in expected output
matches an empty line in actual output; and doctest directives
were added]{2.4}
More information about the Python-checkins
mailing list