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:
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