summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_subprocess.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2011-03-15 19:43:39 (GMT)
committerGregory P. Smith <greg@krypto.org>2011-03-15 19:43:39 (GMT)
commit961e0e85c007677ba4406382d6951a39487d440c (patch)
treef8fc8a36fa665cc75b9322cf5a2f4824f10f01f1 /Lib/test/test_subprocess.py
parente14e9c2218dc449a374a31a5bc4f9e1a82ef61fa (diff)
downloadcpython-961e0e85c007677ba4406382d6951a39487d440c.zip
cpython-961e0e85c007677ba4406382d6951a39487d440c.tar.gz
cpython-961e0e85c007677ba4406382d6951a39487d440c.tar.bz2
revert the test_main() change from 08daf3ef6509 so that regrtest continues to run this properly.
Diffstat (limited to 'Lib/test/test_subprocess.py')
-rw-r--r--Lib/test/test_subprocess.py15
1 files changed, 14 insertions, 1 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index 46e50c3..3cc387b 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()