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

Function test_mwindow_size

test/test_settings.py:36–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35
36def test_mwindow_size() -> None:
37 original = pygit2.settings.mwindow_size
38 try:
39 test_size = 200 * 1024
40 pygit2.settings.mwindow_size = test_size
41 assert pygit2.settings.mwindow_size == test_size
42 finally:
43 pygit2.settings.mwindow_size = original
44
45
46def test_mwindow_mapped_limit() -> 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…