(_database: str, **_kwargs: float | type[sqlite3.Connection])
| 61 | now += seconds |
| 62 | |
| 63 | def refused(_database: str, **_kwargs: float | type[sqlite3.Connection]) -> None: |
| 64 | nonlocal now |
| 65 | now += 0.25 |
| 66 | raise BlockingIOError(EWOULDBLOCK, "leased database") |
| 67 | |
| 68 | mocker.patch.object(threading, "active_count", autospec=True, return_value=1) |
| 69 | clock = mocker.patch("filelock._sqlite._lock.time", autospec=True) |
nothing calls this directly
no outgoing calls
no test coverage detected