diff options
-rw-r--r-- | Lib/test/test_socket.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index fa9a65f..9567090 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -1216,6 +1216,7 @@ class GeneralModuleTests(unittest.TestCase): signal.alarm(1) self.assertRaises(socket.timeout, c.sendall, b"x" * (1024**2)) finally: + signal.alarm(0) signal.signal(signal.SIGALRM, old_alarm) c.close() s.close() |