diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-06-14 13:02:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-14 13:02:51 +0200 |
commit | 07559450b2d9179e4c99e0af088ce7550e549f94 (patch) | |
tree | f0e6cb7c58179b73b43fa984a83b3f51232345c7 /Python/formatter_unicode.c | |
parent | b2f94730d947f25b8507c5f76202e917683e76f7 (diff) | |
download | cpython-git-07559450b2d9179e4c99e0af088ce7550e549f94.tar.gz |
bpo-37278: Fix test_asyncio ProactorLoopCtrlC (GH-14074)
Join the thread to prevent leaking a running thread and leaking a
reference.
Cleanup also the test:
* asyncioWindowsProactorEventLoopPolicy became the default policy,
there is no need to set it manually.
* Only start the thread once the loop is running.
* Use a shorter sleep in the thread (100 ms rather than 1 sec).
* Use close_loop(loop) rather than loop.close().
* Use longer variable names.
Diffstat (limited to 'Python/formatter_unicode.c')
0 files changed, 0 insertions, 0 deletions