()
| 39 | |
| 40 | |
| 41 | def test_alternate_encoding(): |
| 42 | # The file isn't really in Windows-1252. But that's a problem ftfy |
| 43 | # can fix, if it's allowed to be sloppy when reading the file. |
| 44 | output = get_command_output(["ftfy", "-e", "sloppy-windows-1252", TEST_FILENAME]) |
| 45 | assert output == CORRECT_OUTPUT |
| 46 | |
| 47 | |
| 48 | def test_wrong_encoding(): |
nothing calls this directly
no test coverage detected