[Python-checkins] cpython (3.2): 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:59 CET 2011
http://hg.python.org/cpython/rev/8c79e3abdb31
changeset: 68527:8c79e3abdb31
branch: 3.2
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
@@ -1477,6 +1477,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