()
| 1168 | call_count = 0 |
| 1169 | |
| 1170 | def cancel_after_two() -> bool: |
| 1171 | nonlocal call_count |
| 1172 | call_count += 1 |
| 1173 | return call_count >= 2 |
| 1174 | |
| 1175 | mocker.patch("filelock._api.time.sleep") |
| 1176 | with pytest.raises(Timeout): |
nothing calls this directly
no outgoing calls
no test coverage detected