Join GitHub today
bpo-32972: Add unittest.AsyncioTestCase #10296
This PR adds co-routine support to unittest by adding a new sub-class of
I made the following conscious decisions during the implementation that may be somewhat controversial so I want to mention them here (in no particular order) along with the rationale.
I still have to amend commits to update documentation but I wanted to have the discussion about the implementation choices before I started writing up examples and updating the existing documentation suite.
@matrixise - thanks for the review. I amended a few commits to address your feedback. I still intend to add some documentation in Doc/library/unittest.rst and Doc/library/asyncio.rst as well. I wanted to make sure that the implementation was acceptable before starting the documentation related tasks.