Author yselivanov
Recipients asvetlov, pdxjohnny, r.david.murray, yselivanov
Date 2018-03-06.18:05:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520359557.78.0.467229070634.issue32972@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-03-06 18:05:57yselivanovsetrecipients: + yselivanov, r.david.murray, asvetlov, pdxjohnny
2018-03-06 18:05:57yselivanovsetmessageid: <1520359557.78.0.467229070634.issue32972@psf.upfronthosting.co.za>
2018-03-06 18:05:57yselivanovlinkissue32972 messages
2018-03-06 18:05:57yselivanovcreate