(self)
| 584 | ValueError, self.loop.run_until_complete, stream.readexactly(2)) |
| 585 | |
| 586 | def test_exception(self): |
| 587 | stream = asyncio.StreamReader(loop=self.loop) |
| 588 | self.assertIsNone(stream.exception()) |
| 589 | |
| 590 | exc = ValueError() |
| 591 | stream.set_exception(exc) |
| 592 | self.assertIs(stream.exception(), exc) |
| 593 | |
| 594 | def test_exception_waiter(self): |
| 595 | stream = asyncio.StreamReader(loop=self.loop) |
nothing calls this directly
no test coverage detected