mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
Call reap_children() at the end of test_posix
This commit is contained in:
parent
dedf6cf387
commit
68c9592d33
1 changed files with 4 additions and 1 deletions
|
@ -780,7 +780,10 @@ class PosixGroupsTester(unittest.TestCase):
|
|||
|
||||
|
||||
def test_main():
|
||||
support.run_unittest(PosixTester, PosixGroupsTester)
|
||||
try:
|
||||
support.run_unittest(PosixTester, PosixGroupsTester)
|
||||
finally:
|
||||
support.reap_children()
|
||||
|
||||
if __name__ == '__main__':
|
||||
test_main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue