mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
bpo-34687: Make asynico use ProactorEventLoop by default (GH-9538)
This commit is contained in:
parent
c8c0249c9e
commit
6ea29c5e90
7 changed files with 30 additions and 14 deletions
|
@ -816,7 +816,8 @@ os.close(fd)
|
|||
addr = q.get()
|
||||
|
||||
# Should not be stuck in an infinite loop.
|
||||
with self.assertRaises((ConnectionResetError, BrokenPipeError)):
|
||||
with self.assertRaises((ConnectionResetError, ConnectionAbortedError,
|
||||
BrokenPipeError)):
|
||||
self.loop.run_until_complete(client(*addr))
|
||||
|
||||
# Clean up the thread. (Only on success; on failure, it may
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue