From e01572c585607472ede08a590864b2fa029ab610 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Fri, 19 Jun 2020 18:17:40 -0700 Subject: [PATCH] bind our UDP socket --- tests/test_async.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_async.py b/tests/test_async.py index c36a8f40..2d387aef 100644 --- a/tests/test_async.py +++ b/tests/test_async.py @@ -346,7 +346,8 @@ class AsyncTests(unittest.TestCase): def testUDPReceiveTimeout(self): async def arun(): async with await self.backend.make_socket(socket.AF_INET, - socket.SOCK_DGRAM) as s: + socket.SOCK_DGRAM, 0, + ('127.0.0.1', 0)) as s: try: # for basic coverage await s.getpeername() -- 2.47.3