Message313347
I think the right approach would be to add an new base TestCase class: AsyncioTestCase. There other frameworks that have different event loop implementations, so we can't assume that an `async def` test should always be executed by asyncio.
And you should use the `asyncio.run` function to run the coroutine. |
|
Date |
User |
Action |
Args |
2018-03-06 18:05:57 | yselivanov | set | recipients:
+ yselivanov, r.david.murray, asvetlov, pdxjohnny |
2018-03-06 18:05:57 | yselivanov | set | messageid: <1520359557.78.0.467229070634.issue32972@psf.upfronthosting.co.za> |
2018-03-06 18:05:57 | yselivanov | link | issue32972 messages |
2018-03-06 18:05:57 | yselivanov | create | |
|