◐ Shell
reader mode source ↗
Skip to content
Merged
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
4 changes: 4 additions & 0 deletions Lib/test/test_asyncio/test_sock_lowlevel.py
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@
import time
import asyncio
import sys
from asyncio import proactor_events
from itertools import cycle, islice
from test.test_asyncio import utils as test_utils
Expand Down Expand Up @@ -232,6 +234,8 @@ async def _basetest_sock_connect_racing(self, listener, sock):
# avoid touching event loop to maintain race condition
time.sleep(0.01)

def test_sock_client_racing(self):
with test_utils.run_test_server() as httpd:
sock = socket.socket()
Expand Down
Toggle all file notes Toggle all file annotations