From: Gregory P. Smith Date: Tue, 15 Mar 2011 19:43:39 +0000 (-0400) Subject: revert the test_main() change from 08daf3ef6509 so that regrtest continues to run... X-Git-Tag: v3.2.1b1~293 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=961e0e85c007677ba4406382d6951a39487d440c;p=python revert the test_main() change from 08daf3ef6509 so that regrtest continues to run this properly. --- diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 46e50c350b..3cc387b6a3 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -1477,6 +1477,19 @@ class ContextManagerTests(ProcessTestCase): raise c.exception +def test_main(): + unit_tests = (ProcessTestCase, + POSIXProcessTestCase, + Win32ProcessTestCase, + ProcessTestCasePOSIXPurePython, + CommandTests, + ProcessTestCaseNoPoll, + HelperFunctionTests, + CommandsWithSpaces, + ContextManagerTests) + + support.run_unittest(*unit_tests) + support.reap_children() + if __name__ == "__main__": unittest.main() - support.reap_children()