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

Function test_create_empty_read_tree_as_string

test/test_index.py:305–309  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

303
304
305def test_create_empty_read_tree_as_string() -> None:
306 index = Index()
307 # no repo associated, so we don't know where to read from
308 with pytest.raises(TypeError):
309 index('read_tree', 'fd937514cb799514d4b81bb24c5fcfeb6472b245') # type: ignore
310
311
312def test_create_empty_read_tree(testrepo: Repository) -> None:

Callers

nothing calls this directly

Calls 1

IndexClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…