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

Function test_invalid_bytes

tests/test_cmd.py:44–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42
43
44def test_invalid_bytes():
45 with pytest.raises(CharacterSetDecodeError):
46 cmd._try_decode(b"\x73\xe2\x9d\xff\x00")
47
48
49def test_always_fail_decode():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected