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

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

parent dbb9aca0
......@@ -170,7 +170,6 @@ except ImportError:
import asyncio
@asyncio.coroutine
@types_coroutine
def wait3():
counter = 0
......@@ -189,9 +188,8 @@ try:
except ImportError:
types_coroutine = lambda f:f
from asyncio import coroutine, sleep
from asyncio import sleep
@coroutine
@types_coroutine
def wait3():
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