python/dist/src/Doc/lib libdoctest.tex,1.60,1.61

Update of /cvsroot/python/python/dist/src/Doc/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2621/Doc/lib Modified Files: libdoctest.tex Log Message: - Added a "parser" option to testfile() and DocFileTest(). Index: libdoctest.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdoctest.tex,v retrieving revision 1.60 retrieving revision 1.61 diff -u -d -r1.60 -r1.61 --- libdoctest.tex 27 Sep 2004 03:30:44 -0000 1.60 +++ libdoctest.tex 27 Sep 2004 04:08:20 -0000 1.61 @@ -817,7 +817,8 @@ name}\optional{, package}\optional{, globs}\optional{, verbose}\optional{, report}\optional{, optionflags}\optional{, - extraglobs}\optional{, raise_on_error}} + extraglobs}\optional{, raise_on_error}\optional{, + parser}} All arguments except \var{filename} are optional, and should be specified in keyword form. @@ -886,6 +887,10 @@ in an example. This allows failures to be post-mortem debugged. Default behavior is to continue running examples. + Optional argument \var{parser} specifies a \class{DocTestParser} (or + subclass) that should be used to extract tests from the files. It + defaults to a normal parser (i.e., \code{\class{DocTestParser}()}). + \versionadded{2.4} \end{funcdesc} @@ -1065,6 +1070,10 @@ See function \function{set_unittest_reportflags()} below for a better way to set reporting options. + Optional argument \var{parser} specifies a \class{DocTestParser} (or + subclass) that should be used to extract tests from the files. It + defaults to a normal parser (i.e., \code{\class{DocTestParser}()}). + \versionadded{2.4} \end{funcdesc}
participants (1)
-
edloper@users.sourceforge.net