Skip to content

Commit 9268ac9

Browse files
committed
chore: fix ruff warnings
1 parent fb1c387 commit 9268ac9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_atomicwriter.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def test_commit_error(file: StrPath, tmp_path: Path) -> None:
121121
assert dest.is_file() # Now it does exist
122122
assert dest.read_text() == "hello world"
123123

124-
with pytest.raises(ValueError, match="I/O operation on closed file."):
124+
with pytest.raises(ValueError, match=r"I/O operation on closed file."):
125125
atfile.commit()
126126

127127

0 commit comments

Comments
 (0)