(loop)
| 23 | |
| 24 | |
| 25 | def test_exception(loop): |
| 26 | stream = parsers.StreamParser(loop=loop) |
| 27 | assert stream.exception() is None |
| 28 | |
| 29 | exc = ValueError() |
| 30 | stream.set_exception(exc) |
| 31 | assert stream.exception() is exc |
| 32 | |
| 33 | |
| 34 | def test_exception_connection_error(loop): |
nothing calls this directly
no test coverage detected