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 c16bace commit 92f9339Copy full SHA for 92f9339
Lib/test/test_asyncio/test_selector_events.py
@@ -187,6 +187,7 @@ def test_sock_recv_reconnection(self):
187
sock = mock.Mock()
188
sock.fileno.return_value = 10
189
sock.recv.side_effect = BlockingIOError
190
+ sock.gettimeout.return_value = 0.0
191
192
self.loop.add_reader = mock.Mock()
193
self.loop.remove_reader = mock.Mock()
@@ -267,6 +268,7 @@ def test_sock_sendall_reconnection(self):
267
268
269
270
sock.send.side_effect = BlockingIOError
271
272
273
self.loop.add_writer = mock.Mock()
274
self.loop.remove_writer = mock.Mock()
0 commit comments