Commit 9f28d7d3 authored by Stefan Behnel's avatar Stefan Behnel

Remove imports and @asyncio.coroutine decorators from test that are gone in Python 3.11.

parent 7494be69
...@@ -170,7 +170,6 @@ except ImportError: ...@@ -170,7 +170,6 @@ except ImportError:
import asyncio import asyncio
@asyncio.coroutine
@types_coroutine @types_coroutine
def wait3(): def wait3():
counter = 0 counter = 0
...@@ -189,9 +188,8 @@ try: ...@@ -189,9 +188,8 @@ try:
except ImportError: except ImportError:
types_coroutine = lambda f:f types_coroutine = lambda f:f
from asyncio import coroutine, sleep from asyncio import sleep
@coroutine
@types_coroutine @types_coroutine
def wait3(): def wait3():
counter = 0 counter = 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment