]> granicus.if.org Git - python/commit
[asyncio] bpo-30423: add regression test for orphan future causes "RuntimeError:...
authorjimmylai <albert_chs@yahoo.com.tw>
Wed, 1 Nov 2017 13:54:45 +0000 (06:54 -0700)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 1 Nov 2017 13:54:45 +0000 (15:54 +0200)
commitd1e34031f68a3c7523a5376575c87cd0fea2425c
tree344c1bc0d114a58813579a53d718826bfe2b5ca3
parent894ebd065e02debf20c0657d26020ecc42b7534f
[asyncio] bpo-30423: add regression test for orphan future causes "RuntimeError: Event loop stopped before Future completed." (#3295)

* call remove_done_callback in finally section

* [asyncio] bpo-30423 bug: add regression test for orphan future causes "RuntimeError: Event loop stopped before Future completed."
Lib/test/test_asyncio/test_base_events.py