diff options
author | Victor Stinner <vstinner@python.org> | 2023-11-04 00:47:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-04 00:47:07 (GMT) |
commit | ac01e2243a1104b2154c0d1bdbc9f8d5b3ada778 (patch) | |
tree | f7a20f99ec3639f0180a721a0d5e827aba9e85e8 /Doc | |
parent | f62c7ccf9abf6e0493978da9cf9ca43adcd403f9 (diff) | |
download | cpython-ac01e2243a1104b2154c0d1bdbc9f8d5b3ada778.zip cpython-ac01e2243a1104b2154c0d1bdbc9f8d5b3ada778.tar.gz cpython-ac01e2243a1104b2154c0d1bdbc9f8d5b3ada778.tar.bz2 |
gh-111644: Fix asyncio test_unhandled_exceptions() (#111713)
Fix test_unhandled_exceptions() of test_asyncio.test_streams: break
explicitly a reference cycle.
Fix also StreamTests.tearDown(): the loop must not be closed
explicitly, but using set_event_loop() which takes care of shutting
down the executor with executor.shutdown(wait=True).
BaseEventLoop.close() calls executor.shutdown(wait=False).
Diffstat (limited to 'Doc')
0 files changed, 0 insertions, 0 deletions