diff options
author | Edward Loper <edloper@gradient.cis.upenn.edu> | 2004-08-19 19:19:03 (GMT) |
---|---|---|
committer | Edward Loper <edloper@gradient.cis.upenn.edu> | 2004-08-19 19:19:03 (GMT) |
commit | b7503ff631648db6b54641db3154f4a70193c997 (patch) | |
tree | 788c8e1c8d2fe9931d8f85dc575811fc209d1b35 | |
parent | 3ba5bfc766c564ad434753afa43d26f9a468cbfc (diff) | |
download | cpython-b7503ff631648db6b54641db3154f4a70193c997.zip cpython-b7503ff631648db6b54641db3154f4a70193c997.tar.gz cpython-b7503ff631648db6b54641db3154f4a70193c997.tar.bz2 |
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).
-rw-r--r-- | Lib/doctest.py | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py index c7a183b..dcd6407 100644 --- a/Lib/doctest.py +++ b/Lib/doctest.py @@ -170,19 +170,47 @@ executed. __docformat__ = 'reStructuredText en' __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', -# 'master', ] import __future__ @@ -526,7 +554,7 @@ class DocTest: (other.name, other.filename, other.lineno, id(other))) ###################################################################### -## 2. DocTestParser +## 3. DocTestParser ###################################################################### class DocTestParser: |