]> granicus.if.org Git - python/commitdiff
revert the test_main() change from 08daf3ef6509 so that regrtest continues to run...
authorGregory P. Smith <greg@krypto.org>
Tue, 15 Mar 2011 19:43:39 +0000 (15:43 -0400)
committerGregory P. Smith <greg@krypto.org>
Tue, 15 Mar 2011 19:43:39 +0000 (15:43 -0400)
Lib/test/test_subprocess.py

index 46e50c350bf103f6394c0d4a744ccd74a72536c6..3cc387b6a3dd20e723793e5363b8468ddcc10a65 100644 (file)
@@ -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()