summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/test_streams.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-09-25 08:27:08 -0700
committerYury Selivanov <yury@magic.io>2018-09-25 11:27:08 -0400
commit6ea29c5e90dde6c240bd8e0815614b52ac307ea1 (patch)
treeb13f44020dc742f6d06d8adb71961b734b06c2ea /Lib/test/test_asyncio/test_streams.py
parentc8c0249c9e8f61ab7670119a5a5278354df27bbb (diff)
downloadcpython-git-6ea29c5e90dde6c240bd8e0815614b52ac307ea1.tar.gz
bpo-34687: Make asynico use ProactorEventLoop by default (GH-9538)
Diffstat (limited to 'Lib/test/test_asyncio/test_streams.py')
-rw-r--r--Lib/test/test_asyncio/test_streams.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_streams.py b/Lib/test/test_asyncio/test_streams.py
index d8e371510d..c529e5208c 100644
--- a/Lib/test/test_asyncio/test_streams.py
+++ b/Lib/test/test_asyncio/test_streams.py
@@ -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