diff options
author | Yury Selivanov <yury@magic.io> | 2018-10-02 17:53:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 17:53:06 (GMT) |
commit | 9012a0fb4c4ec1afef9efb9fdb0964554ea17983 (patch) | |
tree | 87ff02fec1fa16d87b30e8b1028e71ea624b5b48 /Lib/test/test_asyncio/utils.py | |
parent | 11c4eaa99362f91c7faea88e31df3e46af020023 (diff) | |
download | cpython-9012a0fb4c4ec1afef9efb9fdb0964554ea17983.zip cpython-9012a0fb4c4ec1afef9efb9fdb0964554ea17983.tar.gz cpython-9012a0fb4c4ec1afef9efb9fdb0964554ea17983.tar.bz2 |
bpo-34728: Fix asyncio tests to run under "-Werror" (GH-9661)
Diffstat (limited to 'Lib/test/test_asyncio/utils.py')
-rw-r--r-- | Lib/test/test_asyncio/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/utils.py b/Lib/test/test_asyncio/utils.py index e7438d4..f7dcf93 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): |