MCPcopy Create free account
hub / github.com/tox-dev/filelock / cancel_after_two

Function cancel_after_two

tests/core/test_timeout.py:263–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

261 call_count = 0
262
263 def cancel_after_two() -> bool:
264 nonlocal call_count
265 call_count += 1
266 return call_count >= 2
267
268 mocker.patch(
269 "filelock._core._acquire.time",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected