mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +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):
|
def testWithTimeoutTriggeredSend(self):
|
||||||
conn = self.accept_conn()
|
conn = self.accept_conn()
|
||||||
conn.recv(88192)
|
conn.recv(88192)
|
||||||
|
# bpo-45212: the wait here needs to be longer than the client-side timeout (0.01s)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
# errors
|
# errors
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue