summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libdoctest.tex
diff options
context:
space:
mode:
authorEdward Loper <edloper@gradient.cis.upenn.edu>2004-08-26 01:41:51 (GMT)
committerEdward Loper <edloper@gradient.cis.upenn.edu>2004-08-26 01:41:51 (GMT)
commit71f55af826481576ffa75f9dc0771e20ab7c1187 (patch)
tree911ebe23b50d2e1c83a12a77a61eabe220c04585 /Doc/lib/libdoctest.tex
parent5662929a4268efdeed21c45366e6a632926a275f (diff)
downloadcpython-71f55af826481576ffa75f9dc0771e20ab7c1187.zip
cpython-71f55af826481576ffa75f9dc0771e20ab7c1187.tar.gz
cpython-71f55af826481576ffa75f9dc0771e20ab7c1187.tar.bz2
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).
Diffstat (limited to 'Doc/lib/libdoctest.tex')
-rw-r--r--Doc/lib/libdoctest.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libdoctest.tex b/Doc/lib/libdoctest.tex
index 0db5d5d..dca79f7 100644
--- a/Doc/lib/libdoctest.tex
+++ b/Doc/lib/libdoctest.tex
@@ -344,17 +344,17 @@ can also be used in doctest directives (see below).
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 @@ can be useful.
\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}