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/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_asyncio/utils.py') diff --git a/Lib/test/test_asyncio/utils.py b/Lib/test/test_asyncio/utils.py index e7438d40a4..f7dcf93dc8 100644 --- a/Lib/test/test_asyncio/utils.py +++ b/Lib/test/test_asyncio/utils.py @@ -113,7 +113,7 @@ def run_until(loop, pred, timeout=30): timeout = deadline - time.time() if timeout <= 0: raise futures.TimeoutError() - loop.run_until_complete(tasks.sleep(0.001, loop=loop)) + loop.run_until_complete(tasks.sleep(0.001)) def run_once(loop): -- cgit v1.2.1