[Python-checkins] cpython: revert the test_main() change from 08daf3ef6509 so that regrtest continues to

gregory.p.smith python-checkins at python.org
Tue Mar 15 20:52:51 CET 2011


http://hg.python.org/cpython/rev/f4b0f9cc737e
changeset: 68524:f4b0f9cc737e
user: Gregory P. Smith <greg at krypto.org>
date: Tue Mar 15 15:43:39 2011 -0400
summary:
 revert the test_main() change from 08daf3ef6509 so that regrtest continues to run this properly.
files:
 Lib/test/test_subprocess.py
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -1547,6 +1547,19 @@
 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()
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /