commit | e8a533fbc734af6eeb389202ba6c6e9c2548027f | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Sat Sep 02 00:25:39 2017 +0200 |
committer | GitHub <noreply@github.com> | Sat Sep 02 00:25:39 2017 +0200 |
tree | 20d58f8741ff227b6c130308d9a666ccc60c3fba | |
parent | b713adf27a76b5df95e3ee5f85f9064a2763ae35 [diff] |
bpo-31250, test_asyncio: fix EventLoopTestsMixin.tearDown() (#3264) Call doCleanups() to close the loop after calling executor.shutdown(wait=True): see TestCase.set_event_loop() of asyncio.test_utils. Replace also gc.collect() with support.gc_collect().