(make_enc)
| 131 | |
| 132 | @pytest.mark.parametrize("make_enc", ENCODING_FACTORIES) |
| 133 | def test_basic_roundtrip(make_enc): |
| 134 | enc = make_enc() |
| 135 | for value in ( |
| 136 | "hello", |
| 137 | "hello ", |
| 138 | "hello ", |
| 139 | " hello", |
| 140 | " hello ", |
| 141 | " hello ", |
| 142 | "hello world", |
| 143 | "请考试我的软件!12345", |
| 144 | ): |
| 145 | assert value == enc.decode(enc.encode(value)) |
| 146 | assert value == enc.decode(enc.encode_ordinary(value)) |
| 147 | |
| 148 | |
| 149 | @pytest.mark.parametrize("make_enc", ENCODING_FACTORIES) |
nothing calls this directly
no test coverage detected
searching dependent graphs…