MCPcopy Create free account
hub / github.com/libgit2/pygit2 / test_ascii

Function test_ascii

test/test_signature.py:57–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55
56
57def test_ascii() -> None:
58 with pytest.raises(UnicodeEncodeError):
59 pygit2.Signature('Foo Ibáñez', 'foo@example.com', encoding='ascii')
60
61
62@pytest.mark.parametrize('encoding', [None, 'utf-8', 'iso-8859-1'])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…