diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2008-03-23 06:16:04 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2008-03-23 06:16:04 (GMT) |
commit | acdb6fb2a58bf7a4cbeb647c2a9201eb9009f68a (patch) | |
tree | 25e80c425d11e8e54a89a339b9d3ea48c577d655 | |
parent | 0d2192be8b71c2effeedad4bf9ccac9c022c03d8 (diff) | |
download | cpython-acdb6fb2a58bf7a4cbeb647c2a9201eb9009f68a.zip cpython-acdb6fb2a58bf7a4cbeb647c2a9201eb9009f68a.tar.gz cpython-acdb6fb2a58bf7a4cbeb647c2a9201eb9009f68a.tar.bz2 |
Try to prevent the alarm going off early in tearDown
-rw-r--r-- | Lib/test/test_socketserver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index bd25f57..457d231 100644 --- a/Lib/test/test_socketserver.py +++ b/Lib/test/test_socketserver.py @@ -70,6 +70,7 @@ class SocketServerTest(unittest.TestCase): self.test_files = [] def tearDown(self): + signal_alarm(0) # Didn't deadlock. reap_children() for fn in self.test_files: @@ -78,7 +79,6 @@ class SocketServerTest(unittest.TestCase): except os.error: pass self.test_files[:] = [] - signal_alarm(0) # Didn't deadlock. def pickaddr(self, proto): if proto == socket.AF_INET: |