diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-05-26 16:26:37 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-05-26 16:26:37 (GMT) |
commit | 744c2cd32585c1aeb1b78063cc6dda740d59c0c0 (patch) | |
tree | 609a891784e1a7746926e6cae510b24f124125ce | |
parent | fbeb6b65c990b5db6ead75f9c1b8cf201567df13 (diff) | |
download | cpython-744c2cd32585c1aeb1b78063cc6dda740d59c0c0.zip cpython-744c2cd32585c1aeb1b78063cc6dda740d59c0c0.tar.gz cpython-744c2cd32585c1aeb1b78063cc6dda740d59c0c0.tar.bz2 |
Merged revisions 63698 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63698 | benjamin.peterson | 2008-05-26 11:22:27 -0500 (Mon, 26 May 2008) | 2 lines
add __all__ to test_support
........
-rw-r--r-- | Lib/test/support.py | 13 | ||||
-rw-r--r-- | Lib/test/test___all__.py | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py index b8bc406..deae47d 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -13,6 +13,19 @@ import shutil import warnings import unittest +__all__ = ["Error", "TestFailed", "TestSkipped", "ResourceDenied", "import_module", + "verbose", "use_resources", "max_memuse", "record_original_stdout", + "get_original_stdout", "unload", "unlink", "rmtree", "forget", + "is_resource_enabled", "requires", "find_unused_port", "bind_port", + "fcmp", "have_unicode", "is_jython", "TESTFN", "HOST", "FUZZ", + "findfile", "verify", "vereq", "sortdict", "check_syntax_error", + "open_urlresource", "WarningMessage", "catch_warning", "CleanImport", + "EnvironmentVarGuard", "TransientResource", "captured_output", + "captured_stdout", "TransientResource", "transient_internet", + "run_with_locale", "set_memlimit", "bigmemtest", "bigaddrspacetest", + "BasicTestRunner", "run_unittest", "run_doctest", "threading_setup", + "threading_cleanup", "reap_children"] + class Error(Exception): """Base class for regression test exceptions.""" diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py index ed8d8d9..f3f7ba3 100644 --- a/Lib/test/test___all__.py +++ b/Lib/test/test___all__.py @@ -133,6 +133,7 @@ class AllTest(unittest.TestCase): self.check_all("tarfile") self.check_all("telnetlib") self.check_all("tempfile") + self.check_all("test.support") self.check_all("textwrap") self.check_all("threading") self.check_all("timeit") |