diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index f47e61e5f88..39bb10caaa0 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -161,8 +161,8 @@ class ThreadableTest: def clientRun(self, test_func): self.server_ready.wait() - self.client_ready.set() self.clientSetUp() + self.client_ready.set() if not hasattr(test_func, '__call__'): raise TypeError("test_func must be a callable function") try: