revert the test_main() change from 08daf3ef6509 so that regrtest continues to run this properly.
This commit is contained in:
parent
6466a5268a
commit
3b4652e074
|
@ -1547,6 +1547,19 @@ class ContextManagerTests(ProcessTestCase):
|
||||||
raise c.exception
|
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__":
|
if __name__ == "__main__":
|
||||||
unittest.main()
|
unittest.main()
|
||||||
support.reap_children()
|
|
||||||
|
|
Loading…
Reference in New Issue