Message338642
Ah, so the extra call_soon means it needs a:
[code]
loop.run_until_complete(asyncio.sleep(0))```
[/code]
before the self.assertTrue(it.finally_executed)
to finish executing agen.close().
Why is create_task different? Does it execute an iteration of the generator immediately?
Seems good for this behavior to be consistent, but not sure how difficult that would be. |
|
Date |
User |
Action |
Args |
2019-03-23 05:35:34 | asksol | set | recipients:
+ asksol, ned.deily, asvetlov, yselivanov, twisteroid ambassador, xtreak |
2019-03-23 05:35:34 | asksol | set | messageid: <1553319334.81.0.179984979178.issue36403@roundup.psfhosted.org> |
2019-03-23 05:35:34 | asksol | link | issue36403 messages |
2019-03-23 05:35:34 | asksol | create | |
|