Skip to content

Commit 54a1760

Browse files
bpo-45212: Add a comment for time.sleep() in tests (GH-28414)
Co-authored-by: Victor Stinner <[email protected]>
1 parent 6b41355 commit 54a1760

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_socket.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6207,6 +6207,7 @@ def _testWithTimeoutTriggeredSend(self):
62076207
def testWithTimeoutTriggeredSend(self):
62086208
conn = self.accept_conn()
62096209
conn.recv(88192)
6210+
# bpo-45212: the wait here needs to be longer than the client-side timeout (0.01s)
62106211
time.sleep(1)
62116212

62126213
# errors

0 commit comments

Comments
 (0)