8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_ssl
1 parent 77d2fd4 commit b0a4f65Copy full SHA for b0a4f65
Lib/test/test_asyncio/test_ssl.py
@@ -1849,16 +1849,14 @@ def stop(self):
1849
pass
1850
finally:
1851
super().stop()
1852
-
1853
- def run(self):
1854
- try:
1855
- with self._sock:
1856
- self._sock.setblocking(False)
1857
- self._run()
1858
- finally:
+ self._sock.close()
1859
self._s1.close()
1860
self._s2.close()
1861
+ def run(self):
+ self._sock.setblocking(False)
+ self._run()
+
1862
def _run(self):
1863
while self._active:
1864
if self._clients >= self._max_clients:
0 commit comments