]> granicus.if.org Git - python/commitdiff
Merged revisions 63698 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Mon, 26 May 2008 16:26:37 +0000 (16:26 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 26 May 2008 16:26:37 +0000 (16:26 +0000)
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
........

Lib/test/support.py
Lib/test/test___all__.py

index b8bc406011675aa04d30e4a69b4c91b0e5a842f8..deae47dd50c5425f272335b892bc9b3196eeda8c 100644 (file)
@@ -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."""
 
index ed8d8d9c8010e6d492cd6db6c817e6556d4ce3db..f3f7ba3b73d57f62be989a5496acf715bdad867d 100644 (file)
@@ -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")