()
| 28 | |
| 29 | |
| 30 | def test_guess_bytes_null(): |
| 31 | bowdlerized_null = b"null\xc0\x80separated" |
| 32 | result_str, result_encoding = guess_bytes(bowdlerized_null) |
| 33 | assert result_str == "null\x00separated" |
| 34 | assert result_encoding == "utf-8-variants" |
| 35 | |
| 36 | |
| 37 | def test_incomplete_sequences(): |
nothing calls this directly
no test coverage detected