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

Function test_mwindow_mapped_limit

test/test_settings.py:46–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45
46def test_mwindow_mapped_limit() -> None:
47 original = pygit2.settings.mwindow_mapped_limit
48 try:
49 test_limit = 300 * 1024
50 pygit2.settings.mwindow_mapped_limit = test_limit
51 assert pygit2.settings.mwindow_mapped_limit == test_limit
52 finally:
53 pygit2.settings.mwindow_mapped_limit = original
54
55
56def test_cached_memory() -> 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…