()
| 1144 | self.assertStartsWith(str(cm.warnings[0].message), "unclosed <StreamWriter") |
| 1145 | |
| 1146 | async def outer(): |
| 1147 | srv = await asyncio.start_server(inner, socket_helper.HOSTv4, 0) |
| 1148 | async with srv: |
| 1149 | addr = srv.sockets[0].getsockname() |
| 1150 | with socket.create_connection(addr): |
| 1151 | # Give the loop some time to notice the connection |
| 1152 | await fut |
| 1153 | |
| 1154 | messages = [] |
| 1155 | self.loop.set_exception_handler(lambda loop, ctx: messages.append(ctx)) |
no test coverage detected