summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_signal.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-03-20 16:36:26 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-03-20 16:36:26 (GMT)
commit7903cb727ed841918c5b3bfeda28b0d6e54180b4 (patch)
treec968bc169222d9d8c0d86c4fc3cef08941246e1d /Lib/test/test_signal.py
parent38a04e51f60c6b7dfca354d37fb95cb0961c02c6 (diff)
parent8189ab85e3b53eed158998deb9d0fc15b83b70b2 (diff)
downloadcpython-7903cb727ed841918c5b3bfeda28b0d6e54180b4.zip
cpython-7903cb727ed841918c5b3bfeda28b0d6e54180b4.tar.gz
cpython-7903cb727ed841918c5b3bfeda28b0d6e54180b4.tar.bz2
Merge
Diffstat (limited to 'Lib/test/test_signal.py')
-rw-r--r--Lib/test/test_signal.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index 8f9b064..f64bd4c 100644
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -484,9 +484,12 @@ class ItimerTest(unittest.TestCase):
self.assertEqual(self.hndl_called, True)
def test_main():
- support.run_unittest(BasicSignalTests, InterProcessSignalTests,
- WakeupSignalTests, SiginterruptTest,
- ItimerTest, WindowsSignalTests)
+ try:
+ support.run_unittest(BasicSignalTests, InterProcessSignalTests,
+ WakeupSignalTests, SiginterruptTest,
+ ItimerTest, WindowsSignalTests)
+ finally:
+ support.reap_children()
if __name__ == "__main__":