We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
test_sslproto
1 parent bda2e04 commit 5cb66f0Copy full SHA for 5cb66f0
Lib/test/test_asyncio/functional.py
@@ -217,16 +217,15 @@ def stop(self):
217
pass
218
finally:
219
super().stop()
220
-
221
- def run(self):
222
- try:
223
- with self._sock:
224
- self._sock.setblocking(False)
225
- self._run()
226
- finally:
+ self._sock.close()
227
self._s1.close()
228
self._s2.close()
229
+
+ def run(self):
+ self._sock.setblocking(False)
+ self._run()
230
def _run(self):
231
while self._active:
232
if self._clients >= self._max_clients:
0 commit comments