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

Function test_timeout_str

tests/test_error.py:8–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7
8def test_timeout_str() -> None:
9 timeout = Timeout("/path/to/lock")
10 assert str(timeout) == "The file lock '/path/to/lock' could not be acquired."
11
12
13def test_timeout_repr() -> None:

Callers

nothing calls this directly

Calls 1

TimeoutClass · 0.90

Tested by

no test coverage detected