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

Function test_revparse_range_errors

test/test_revparse.py:80–85  ·  view source on GitHub ↗
(testrepo: Repository)

Source from the content-addressed store, hash-verified

78
79
80def test_revparse_range_errors(testrepo: Repository) -> None:
81 with raises(KeyError):
82 testrepo.revparse('nope..2be571915')
83
84 with raises(InvalidSpecError):
85 testrepo.revparse('master............2be571915')
86
87
88def test_revparse_repr(testrepo: Repository) -> None:

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…