-
Notifications
You must be signed in to change notification settings - Fork 531
Closed
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency filehelp wantedExtra attention is neededExtra attention is needed
Description
The asynctest library which we use extensively in unit tests is no longer being maintained, and does not function properly under Python 3.8+.
Coincidentally, Python 3.8 with mock 4.0 introduces some tools (IsolatedAsyncioTestCase and AsyncMock) which might be sufficient to replace it. It looks like there is a backwards-compatible stub which could be required for testing in Python 3.6 and 3.7.
There would be some changes required to all async test cases (using asyncSetUp instead of async def setUp for example), and we will probably want to try porting some more advanced test cases first in order to check if any other features of asynctest are required.
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency filehelp wantedExtra attention is neededExtra attention is needed