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

Function test_windows_sharemode

test/test_settings.py:276–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

274
275@pytest.mark.skipif(sys.platform != 'win32', reason='Windows-specific feature')
276def test_windows_sharemode() -> None:
277 original = pygit2.settings.windows_sharemode
278 try:
279 pygit2.settings.windows_sharemode = 1
280 assert pygit2.settings.windows_sharemode == 1
281 pygit2.settings.windows_sharemode = 2
282 assert pygit2.settings.windows_sharemode == 2
283 finally:
284 pygit2.settings.windows_sharemode = original

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…