Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Conversation

@musicinmybrain
Copy link

In the tests, replace the asyncio.coroutine decorator, which is deprecated since Python 3.8 and removed in 3.11, with “async def”.

Because async functionality was not available in Python 2.7, and async def was introduced in 3.5, this does not appear to break the tests, except that flake8 in the Python 2.7 tox environment chokes on a SyntaxError for the two test files that are modified in this PR. I’m not sure what you would prefer to do about that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant