Skip to content

Commit f268a29

Browse files
committed
flake8 fix
1 parent 196cc69 commit f268a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_filelock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,5 +510,5 @@ def test_soft_errors(tmp_path: Path, mocker: MockerFixture) -> None:
510510
mocker.patch("os.open", side_effect=OSError(ENOSYS, "mock error"))
511511
lock_path = tmp_path / "a.lock"
512512
lock = SoftFileLock(str(lock_path))
513-
with pytest.raises(OSError):
513+
with pytest.raises(OSError, match="mock error"):
514514
lock.acquire()

0 commit comments

Comments
 (0)