Skip to content

Commit a46c222

Browse files
authored
Remove self.loop.set_exception_handler
1 parent 79505df commit a46c222

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Lib/test/test_asyncio/test_streams.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -980,14 +980,9 @@ async def inner(httpd):
980980
wr.close()
981981
await wr.wait_closed()
982982

983-
messages = []
984-
self.loop.set_exception_handler(lambda loop, ctx: messages.append(ctx))
985-
986983
with test_utils.run_test_server() as httpd:
987984
await inner(httpd)
988985

989-
self.assertEqual(messages, [])
990-
991986
async def test_async_writer_api_exception_after_close(self):
992987
async def inner(httpd):
993988
rd, wr = await asyncio.open_connection(*httpd.address)

0 commit comments

Comments
 (0)