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

Function test_merge_string_argument_deprecated

test/test_merge.py:46–50  ·  view source on GitHub ↗
(mergerepo: Repository)

Source from the content-addressed store, hash-verified

44# add an extra parameter to test_merge_invalid_type above
45# to make sure we cover legacy code.
46def test_merge_string_argument_deprecated(mergerepo: Repository) -> None:
47 branch_head_hex = '5ebeeebb320790caf276b9fc8b24546d63316533'
48
49 with pytest.warns(DeprecationWarning, match=r'Pass Commit.+instead'):
50 mergerepo.merge(branch_head_hex)
51
52
53def test_merge_analysis_uptodate(mergerepo: Repository) -> None:

Callers

nothing calls this directly

Calls 1

mergeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…