Pick a random, non-utf8 encoding to test.
(s: str)
| 36 | ], |
| 37 | ) |
| 38 | def test_valid_cp1250_encoded_strings(s: str): |
| 39 | """Pick a random, non-utf8 encoding to test.""" |
| 40 | # We just want to make sure it doesn't raise an exception |
| 41 | cmd._try_decode(s.encode("cp1250")) |
| 42 | |
| 43 | |
| 44 | def test_invalid_bytes(): |
nothing calls this directly
no outgoing calls
no test coverage detected