revert the test_main() change from 08daf3ef6509 so that regrtest continues to run this properly.

This commit is contained in:
Gregory P. Smith 2011-03-15 15:43:39 -04:00
parent e14e9c2218
commit 961e0e85c0

View 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()