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

Function sleep

tests/sqlite/test_lock.py:58–61  ·  view source on GitHub ↗
(seconds: float)

Source from the content-addressed store, hash-verified

56 waits: list[float] = []
57
58 def sleep(seconds: float) -> None:
59 nonlocal now
60 waits.append(seconds)
61 now += seconds
62
63 def refused(_database: str, **_kwargs: float | type[sqlite3.Connection]) -> None:
64 nonlocal now

Callers 1

leaveMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected