summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-09-01 12:46:06 (GMT)
committerGitHub <noreply@github.com>2017-09-01 12:46:06 (GMT)
commit16432beadb8eba079c9786cc0c0eaacfd9fd2f7b (patch)
treef3c14222ddf24a83d355f6dbf1786ab65ed15600 /Lib/test/test_asyncio/test_events.py
parent6c2feabc5dac2f3049b15134669e9ad5af573193 (diff)
downloadcpython-16432beadb8eba079c9786cc0c0eaacfd9fd2f7b.zip
cpython-16432beadb8eba079c9786cc0c0eaacfd9fd2f7b.tar.gz
cpython-16432beadb8eba079c9786cc0c0eaacfd9fd2f7b.tar.bz2
bpo-31250, test_asyncio: fix dangling threads (#3252)
* Explicitly call shutdown(wait=True) on executors to wait until all threads complete to prevent side effects between tests. * Fix test_loop_self_reading_exception(): don't mock loop.close(). Previously, the original close() method was called rather than the mock, because how set_event_loop() registered loop.close().
Diffstat (limited to 'Lib/test/test_asyncio/test_events.py')
0 files changed, 0 insertions, 0 deletions