(
self, read1_args: tuple[typing.Any, ...]
)
| 328 | |
| 329 | @pytest.mark.parametrize("read1_args", ((), (None,), (-1,))) |
| 330 | def test_reference_read1_without_limit( |
| 331 | self, read1_args: tuple[typing.Any, ...] |
| 332 | ) -> None: |
| 333 | fp = BytesIO(b"foo") |
| 334 | r = HTTPResponse(fp, preload_content=False) |
| 335 | assert r.read1(*read1_args) == b"foo" |
| 336 | |
| 337 | def test_reference_read1_nodecode(self) -> None: |
| 338 | fp = BytesIO(b"foobar") |
nothing calls this directly
no test coverage detected