diff options
| author | Victor Stinner <vstinner@redhat.com> | 2018-09-25 15:27:08 (GMT) |
|---|---|---|
| committer | Yury Selivanov <yury@magic.io> | 2018-09-25 15:27:08 (GMT) |
| commit | 6ea29c5e90dde6c240bd8e0815614b52ac307ea1 (patch) | |
| tree | b13f44020dc742f6d06d8adb71961b734b06c2ea /Lib/test/test_asyncio/test_streams.py | |
| parent | c8c0249c9e8f61ab7670119a5a5278354df27bbb (diff) | |
| download | cpython-6ea29c5e90dde6c240bd8e0815614b52ac307ea1.zip cpython-6ea29c5e90dde6c240bd8e0815614b52ac307ea1.tar.gz cpython-6ea29c5e90dde6c240bd8e0815614b52ac307ea1.tar.bz2 | |
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.py | 3 |
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 d8e3715..c529e52 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 |
