()
| 184 | |
| 185 | |
| 186 | def test_non_ascii_encoding(): |
| 187 | encoder = MetaStringEncoder(special_char1=".", special_char2="_") |
| 188 | |
| 189 | test_string = "こんにちは" # Non-ASCII string |
| 190 | encoded_metastring = encoder.encode(test_string) |
| 191 | assert encoded_metastring.encoding == Encoding.UTF_8 |
| 192 | |
| 193 | |
| 194 | def test_non_ascii_encoding_and_non_utf8(): |
nothing calls this directly
no test coverage detected