This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients asvetlov, pdxjohnny, r.david.murray, yselivanov
Date 2018-02-28.19:16:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In order for this to be actually useful, I think we also need a mechanism to set up and run async cleanup methods.  In my own project I accomplish this by putting the run_until_complete in a try/finally loop and have an asyncAddCleanup method that just appends coroutines to a list that are then run in reversed order in the finally clause.

Whatever we come up with needs tests and docs, and before that, I'm sure, more discussion about the API.  Probably a topic for python-ideas?  Or the testing sig?

I really do think we should have async test support in the stdlib, though.  Basic support isn't that hard (it's 15 lines in the test suite I'm using currently).
Date User Action Args
2018-02-28 19:16:35r.david.murraysetrecipients: + r.david.murray, asvetlov, yselivanov, pdxjohnny
2018-02-28 19:16:35r.david.murraysetmessageid: <>
2018-02-28 19:16:35r.david.murraylinkissue32972 messages
2018-02-28 19:16:35r.david.murraycreate