aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_asyncio/test_buffered_proto.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-10-02 13:53:06 -0400
committerGitHub <noreply@github.com>2018-10-02 13:53:06 -0400
commit9012a0fb4c4ec1afef9efb9fdb0964554ea17983 (patch)
tree87ff02fec1fa16d87b30e8b1028e71ea624b5b48 /Lib/test/test_asyncio/test_buffered_proto.py
parent11c4eaa99362f91c7faea88e31df3e46af020023 (diff)
downloadcpython-9012a0fb4c4ec1afef9efb9fdb0964554ea17983.tar.gz
cpython-9012a0fb4c4ec1afef9efb9fdb0964554ea17983.zip
bpo-34728: Fix asyncio tests to run under "-Werror" (GH-9661)
Diffstat (limited to 'Lib/test/test_asyncio/test_buffered_proto.py')
-rw-r--r--Lib/test/test_asyncio/test_buffered_proto.py2
1 files changed, 1 insertions, 1 deletions
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())