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

Function test_revparse_repr

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

Source from the content-addressed store, hash-verified

86
87
88def test_revparse_repr(testrepo: Repository) -> None:
89 s = testrepo.revparse('HEAD...i18n')
90 assert (
91 repr(s)
92 == '<pygit2.RevSpec{from=<pygit2.Object{commit:2be5719152d4f82c7302b1c0932d8e5f0a4a0e98}>,to=<pygit2.Object{commit:5470a671a80ac3789f1a6a8cefbcf43ce7af0563}>}>'
93 )

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…