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

Function test_invalid_arguments

test/test_refs.py:784–792  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

782
783
784def test_invalid_arguments() -> None:
785 with pytest.raises(TypeError):
786 reference_is_valid_name() # type: ignore
787 with pytest.raises(TypeError):
788 reference_is_valid_name(None) # type: ignore
789 with pytest.raises(TypeError):
790 reference_is_valid_name(1) # type: ignore
791 with pytest.raises(TypeError):
792 reference_is_valid_name('too', 'many') # type: ignore

Callers

nothing calls this directly

Calls 1

reference_is_valid_nameFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…