Skip to content

Commit c19128f

Browse files
committed
None vs. False, again
1 parent b403d95 commit c19128f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/python/test_selector_events.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ def test_sock_recv(self):
195195
self.assertEqual(type(f).__name__, asyncio.Future.__name__)
196196
self.loop.run_until_complete(asyncio.sleep(0.01, loop=self.loop))
197197

198-
self.assertEqual(self.loop._sock_recv.call_args[0][1:], (None, sock, 1024))
198+
assert not self.loop._sock_recv.call_args[0][1]
199+
self.assertEqual(self.loop._sock_recv.call_args[0][2:], (sock, 1024))
199200

200201
f.cancel()
201202
with self.assertRaises(asyncio.CancelledError):

0 commit comments

Comments
 (0)