From 9012a0fb4c4ec1afef9efb9fdb0964554ea17983 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Tue, 2 Oct 2018 13:53:06 -0400 Subject: bpo-34728: Fix asyncio tests to run under "-Werror" (GH-9661) --- Lib/test/test_asyncio/test_buffered_proto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_asyncio/test_buffered_proto.py') diff --git a/Lib/test/test_asyncio/test_buffered_proto.py b/Lib/test/test_asyncio/test_buffered_proto.py index 5a5e198b58f..f24e363ebfc 100644 --- a/Lib/test/test_asyncio/test_buffered_proto.py +++ b/Lib/test/test_asyncio/test_buffered_proto.py @@ -64,7 +64,7 @@ class BaseTestBufferedProtocol(func_tests.FunctionalTestCaseMixin): addr = srv.sockets[0].getsockname() self.loop.run_until_complete( - asyncio.wait_for(client(addr), 5, loop=self.loop)) + asyncio.wait_for(client(addr), 5)) srv.close() self.loop.run_until_complete(srv.wait_closed()) -- cgit v1.2.3