Closed delfick closed 3 years ago
given the test only fails on 3.6 and in https://github.com/delfick/alt-pytest-asyncio/pull/9 I plan on making this project 3.7+ only, I'm gonna merge this after I merge that PR.
I decided I had time this morning to push this out and you can find it in 0.6.0 :)
Ensure any async generators that are left running past run_until_complete (essentially only if we get a KeyboardInterrupt that stops the run_until_complete) then those are finalized properly
Note I don't use loop.shutdown_asyncgens sothat I can make the generator handle an asyncio.CancelledError rather than a GeneratorExit