mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-45212: Add a comment for time.sleep() in tests (GH-28414)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
6b41355128
commit
54a1760cde
1 changed files with 1 additions and 0 deletions
|
@ -6207,6 +6207,7 @@ class SendfileUsingSendTest(ThreadedTCPSocketTest):
|
|||
def testWithTimeoutTriggeredSend(self):
|
||||
conn = self.accept_conn()
|
||||
conn.recv(88192)
|
||||
# bpo-45212: the wait here needs to be longer than the client-side timeout (0.01s)
|
||||
time.sleep(1)
|
||||
|
||||
# errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue