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.
1 parent 7ea2613 commit 5ff4efcCopy full SHA for 5ff4efc
1 file changed
Lib/test/test_ssl.py
@@ -4630,7 +4630,6 @@ def test_thread_recv_while_main_thread_sends(self):
4630
# that the recv() call held.
4631
data = b"1" * 50
4632
event = threading.Event()
4633
- import time
4634
def background(sock):
4635
event.set()
4636
received = sock.recv(50)
@@ -4648,7 +4647,6 @@ def background(sock):
4648
4647
args=(sock,), daemon=True)
4649
thread.start()
4650
event.wait()
4651
- time.sleep(0)
4652
sock.sendall(b"1" * 50)
4653
thread.join()
4654
if cm.exc_value is not None:
0 commit comments