[Python-checkins] python/dist/src/Doc/lib libdoctest.tex,1.14,1.15
rhettinger@users.sourceforge.net
rhettinger@users.sourceforge.net
Thu, 17 Jul 2003 07:47:14 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv18009/lib
Modified Files:
libdoctest.tex
Log Message:
Minor corrections.
Index: libdoctest.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdoctest.tex,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** libdoctest.tex 16 Jul 2003 19:25:22 -0000 1.14
--- libdoctest.tex 17 Jul 2003 14:47:12 -0000 1.15
***************
*** 194,197 ****
--- 194,200 ----
docstrings attached to objects with private names.
Objects imported into the module are not searched.
+ \versionchanged[Previously, the tester defaulted to skipping objects
+ with private names (to obtain version independence, explicitly specify
+ \var{isprivate} when launching doctests)]{2.3}
In addition, if \code{M.__test__} exists and "is true", it must be a
***************
*** 199,203 ****
object, or string. Function and class object docstrings found from
\code{M.__test__} are searched even if the the tester has been
! directly to skip over private names in the rest of the module.
In output, a key \code{K} in \code{M.__test__} appears with name
--- 202,206 ----
object, or string. Function and class object docstrings found from
\code{M.__test__} are searched even if the the tester has been
! directed to skip over private names in the rest of the module.
In output, a key \code{K} in \code{M.__test__} appears with name
***************
*** 313,316 ****
--- 316,322 ----
\versionadded{2.3}
+ \warning{\function{DocTestSuite()} does not current search \code{M.__test__}
+ and its search technique does not exactly match \function{testmod()} in
+ every detail. Future versions will bring the two into convergence.}
\end{funcdesc}