diff options
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r-- | Lib/test/test_socket.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index a467e0d..98ba4df 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -177,6 +177,11 @@ class ThreadedUDPSocketTest(SocketUDPTest, ThreadableTest): def clientSetUp(self): self.cli = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) + def clientTearDown(self): + self.cli.close() + self.cli = None + ThreadableTest.clientTearDown(self) + class SocketConnectedTest(ThreadedTCPSocketTest): """Socket tests for client-server connection. |