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

Function test_iterate_non_existing_ref

test/test_note.py:84–86  ·  view source on GitHub ↗
(barerepo: Repository)

Source from the content-addressed store, hash-verified

82
83
84def test_iterate_non_existing_ref(barerepo: Repository) -> None:
85 with pytest.raises(KeyError):
86 barerepo.notes('refs/notes/bad_ref') # type: ignore

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…