summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/functional.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/functional.py
parent11c4eaa99362f91c7faea88e31df3e46af020023 (diff)
downloadcpython-git-9012a0fb4c4ec1afef9efb9fdb0964554ea17983.tar.gz
bpo-34728: Fix asyncio tests to run under "-Werror" (GH-9661)
Diffstat (limited to 'Lib/test/test_asyncio/functional.py')
-rw-r--r--Lib/test/test_asyncio/functional.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/functional.py b/Lib/test/test_asyncio/functional.py
index 386cfcdb98..6b5b3cc907 100644
--- a/Lib/test/test_asyncio/functional.py
+++ b/Lib/test/test_asyncio/functional.py
@@ -15,7 +15,7 @@ class FunctionalTestCaseMixin:
return asyncio.new_event_loop()
def run_loop_briefly(self, *, delay=0.01):
- self.loop.run_until_complete(asyncio.sleep(delay, loop=self.loop))
+ self.loop.run_until_complete(asyncio.sleep(delay))
def loop_exception_handler(self, loop, context):
self.__unhandled_exceptions.append(context)