summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_async.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_async.py b/tests/test_async.py
index c36a8f4..2d387ae 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()