python 3.11 fixes: coroutine was removed
This commit is contained in:
parent
286a2bcadb
commit
9234062545
|
@ -1,4 +1,5 @@
|
|||
import enum
|
||||
import sys
|
||||
from functools import partial
|
||||
from functools import wraps
|
||||
from typing import TYPE_CHECKING
|
||||
|
@ -91,6 +92,7 @@ def test_get_real_func_partial() -> None:
|
|||
assert get_real_func(partial(foo)) is foo
|
||||
|
||||
|
||||
@pytest.mark.skipif(sys.version_info >= (3, 11), reason="couroutine removed")
|
||||
def test_is_generator_asyncio(pytester: Pytester) -> None:
|
||||
pytester.makepyfile(
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue