[Python-checkins] python/dist/src/Lib doctest.py,1.69,1.70
edloper at users.sourceforge.net
edloper at users.sourceforge.net
Thu Aug 19 21:19:20 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3641/dist/src/Lib
Modified Files:
doctest.py
Log Message:
Updated __all__ to include every non-underscored class, function, and
constant defined by the module (except the test*() functions, which
should be integrated into test/test_doctest.py, anyway).
Index: doctest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/doctest.py,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** doctest.py 19 Aug 2004 14:06:20 -0000 1.69
--- doctest.py 19 Aug 2004 19:19:03 -0000 1.70
***************
*** 171,187 ****
__all__ = [
'is_private',
'Example',
'DocTest',
'DocTestFinder',
'DocTestRunner',
'testmod',
'run_docstring_examples',
'Tester',
'DocTestCase',
'DocTestSuite',
'testsource',
'debug',
- # 'master',
]
--- 171,215 ----
__all__ = [
+ # 0, Option Flags
+ 'register_optionflag',
+ 'DONT_ACCEPT_TRUE_FOR_1',
+ 'DONT_ACCEPT_BLANKLINE',
+ 'NORMALIZE_WHITESPACE',
+ 'ELLIPSIS',
+ 'UNIFIED_DIFF',
+ 'CONTEXT_DIFF',
+ # 1. Utility Functions
'is_private',
+ # 2. Example & DocTest
'Example',
'DocTest',
+ # 3. Doctest Parser
+ 'DocTestParser',
+ # 4. Doctest Finder
'DocTestFinder',
+ # 5. Doctest Runner
'DocTestRunner',
+ 'OutputChecker',
+ 'DocTestFailure',
+ 'UnexpectedException',
+ 'DebugRunner',
+ # 6. Test Functions
'testmod',
'run_docstring_examples',
+ # 7. Tester
'Tester',
+ # 8. Unittest Support
'DocTestCase',
+ 'nooutput',
'DocTestSuite',
+ 'DocFileCase',
+ 'DocFileTest',
+ 'DocFileSuite',
+ # 9. Debugging Support
+ 'script_from_examples',
'testsource',
+ 'debug_src',
+ 'debug_script',
'debug',
]
***************
*** 527,531 ****
######################################################################
! ## 2. DocTestParser
######################################################################
--- 555,559 ----
######################################################################
! ## 3. DocTestParser
######################################################################
More information about the Python-checkins
mailing list