diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-03-20 16:33:57 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-03-20 16:33:57 (GMT) |
commit | 68c9592d3306ea12d249ecdbc5ee837b10f3ea12 (patch) | |
tree | 8c857db81e77ac668724e9448240739056672f8d /Lib/test/test_posix.py | |
parent | dedf6cf387eecf81d90bfe942cfb3b0834963bbd (diff) | |
download | cpython-68c9592d3306ea12d249ecdbc5ee837b10f3ea12.zip cpython-68c9592d3306ea12d249ecdbc5ee837b10f3ea12.tar.gz cpython-68c9592d3306ea12d249ecdbc5ee837b10f3ea12.tar.bz2 |
Call reap_children() at the end of test_posix
Diffstat (limited to 'Lib/test/test_posix.py')
-rw-r--r-- | Lib/test/test_posix.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index 5373292..0e9ac75 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -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() |