MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / test_valid_utf8_encoded_strings

Function test_valid_utf8_encoded_strings

tests/test_cmd.py:18–19  ·  view source on GitHub ↗
(s: str)

Source from the content-addressed store, hash-verified

16 ],
17)
18def test_valid_utf8_encoded_strings(s: str):
19 assert s == cmd._try_decode(s.encode("utf-8"))
20
21
22# A word of caution: just because an encoding can be guessed for a given

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected