[Python-checkins] python/dist/src/Doc/lib libdoctest.tex,1.24,1.25
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Fri Aug 13 03:49:15 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20744/Doc/lib
Modified Files:
libdoctest.tex
Log Message:
Markup fiddling.
Index: libdoctest.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdoctest.tex,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** libdoctest.tex 12 Aug 2004 22:31:25 -0000 1.24
--- libdoctest.tex 13 Aug 2004 01:49:12 -0000 1.25
***************
*** 160,164 ****
failing example(s) and the cause(s) of the failure(s) are printed to stdout,
and the final line of output is
! \\code{'***Test Failed*** \var{N} failures.'}, where \var{N} is the
number of examples that failed.
--- 160,164 ----
failing example(s) and the cause(s) of the failure(s) are printed to stdout,
and the final line of output is
! \samp{'***Test Failed*** \var{N} failures.'}, where \var{N} is the
number of examples that failed.
***************
*** 204,208 ****
searched.
! Return \code{(\var{failure_count}, \var{test_count})}.
Optional argument \var{name} gives the name of the module; by default,
--- 204,208 ----
searched.
! Return \samp{(\var{failure_count}, \var{test_count})}.
Optional argument \var{name} gives the name of the module; by default,
***************
*** 228,232 ****
Optional argument \var{verbose} prints lots of stuff if true, and prints
only failures if false; by default, or if \code{None}, it's true
! if and only if \code{'-v'} is in \code{\module{sys}.argv}.
Optional argument \var{report} prints a summary at the end when true,
--- 228,232 ----
Optional argument \var{verbose} prints lots of stuff if true, and prints
only failures if false; by default, or if \code{None}, it's true
! if and only if \code{'-v'} is in \code{sys.argv}.
Optional argument \var{report} prints a summary at the end when true,
***************
*** 246,250 ****
determine whether a name is private. The default function treats
all names as public. \var{isprivate} can be set to
! \code{\module{doctest}.is_private} to skip over names that are
private according to Python's underscore naming convention.
\deprecated{2.4}{\var{isprivate} was a stupid idea -- don't use it.
--- 246,250 ----
determine whether a name is private. The default function treats
all names as public. \var{isprivate} can be set to
! \code{doctest.is_private} to skip over names that are
private according to Python's underscore naming convention.
\deprecated{2.4}{\var{isprivate} was a stupid idea -- don't use it.
***************
*** 288,292 ****
\versionchanged[A "private name" concept is deprecated and no longer
! documented.]{2.4}
--- 288,292 ----
\versionchanged[A "private name" concept is deprecated and no longer
! documented]{2.4}
***************
*** 367,371 ****
substrings that span line boundaries, so it's best to keep usage of
this simple. Complicated uses can lead to the same kinds of
! surprises that \code{.*} is prone to in regular expressions.
\end{datadesc}
--- 367,371 ----
substrings that span line boundaries, so it's best to keep usage of
this simple. Complicated uses can lead to the same kinds of
! surprises that \regexp{.*} is prone to in regular expressions.
\end{datadesc}
***************
*** 385,389 ****
\constant{UNIFIED_DIFF}, and \constant{CONTEXT_DIFF}
were added, and \code{<BLANKLINE>} in expected output matches
! an empty line in actual output by default.]{2.4}
\subsection{Advanced Usage}
--- 385,389 ----
\constant{UNIFIED_DIFF}, and \constant{CONTEXT_DIFF}
were added, and \code{<BLANKLINE>} in expected output matches
! an empty line in actual output by default]{2.4}
\subsection{Advanced Usage}
More information about the Python-checkins
mailing list