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 0e8d68f commit 4cc04aaCopy full SHA for 4cc04aa
1 file changed
tests/python/test_windows_events.py
@@ -41,7 +41,7 @@ def setUp(self):
41
def test_close(self):
42
a, b = socket.socketpair()
43
trans = self.loop._make_socket_transport(a, asyncio.Protocol())
44
- f = asyncio.ensure_future(self.loop.sock_recv(b, 100))
+ f = asyncio.ensure_future(self.loop.sock_recv(b, 100), loop=self.loop)
45
trans.close()
46
self.loop.run_until_complete(f)
47
self.assertEqual(f.result(), b'')
0 commit comments