(request: pytest.FixtureRequest)
| 128 | ] |
| 129 | ) |
| 130 | def error(request: pytest.FixtureRequest) -> Timeout | SoftFileLockProtocolError: |
| 131 | if request.param == "timeout": |
| 132 | return Timeout("/path/to/lock") |
| 133 | if request.param == "holder": |
| 134 | return Timeout("/path/to/lock", "pid 7 on build-host") |
| 135 | return SoftFileLockProtocolError("/path/to/lock", request.param, "invalid marker") |
| 136 | |
| 137 | |
| 138 | def _pickle_round_trip( |
nothing calls this directly
no test coverage detected