Call reap_children() at the end of test_posix

This commit is contained in:
Antoine Pitrou 2011-03-20 17:33:57 +01:00
parent dedf6cf387
commit 68c9592d33
1 changed files with 4 additions and 1 deletions

View File

@ -780,7 +780,10 @@ class PosixGroupsTester(unittest.TestCase):
def test_main(): def test_main():
support.run_unittest(PosixTester, PosixGroupsTester) try:
support.run_unittest(PosixTester, PosixGroupsTester)
finally:
support.reap_children()
if __name__ == '__main__': if __name__ == '__main__':
test_main() test_main()