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

Function test_valid_cp1250_encoded_strings

tests/test_cmd.py:38–41  ·  view source on GitHub ↗

Pick a random, non-utf8 encoding to test.

(s: str)

Source from the content-addressed store, hash-verified

36 ],
37)
38def 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
44def test_invalid_bytes():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected