()
| 243 | @pytest.mark.anyio |
| 244 | async def test_text_decoder_with_autodetect(data, encoding): |
| 245 | async def iterator() -> typing.AsyncIterator[bytes]: |
| 246 | nonlocal data |
| 247 | for chunk in data: |
| 248 | yield chunk |
| 249 | |
| 250 | def autodetect(content): |
| 251 | return chardet.detect(content).get("encoding") |
no outgoing calls
no test coverage detected