You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
3.16.0a1 removed asyncio.coroutines.iscoroutinefunction(), still used in tests #809
In #747 the usage of asyncio was removed from the production code, but it's left in tests.
Python 3.16.0a1 removed the function from the asyncio module, and tests now fail:
ERROR: test_asyncio_iscoroutinefunction (test_typing_extensions.DeprecatedCoroTests.test_asyncio_iscoroutinefunction)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/python-typing-extensions-4.16.0-build/typing_extensions-4.16.0/src/test_typing_extensions.py", line 998, in test_asyncio_iscoroutinefunction
self.assertFalse(asyncio.coroutines.iscoroutinefunction(func))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio.coroutines' has no attribute 'iscoroutinefunction'
Activity