Skip to content

Commit 3c1869b

Browse files
committed
fix deprecation warning
1 parent 5539c02 commit 3c1869b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_archive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,5 +190,5 @@ def test_archive_missing_file_error(temp_record):
190190
zout.writestr(item, zin.read(item.filename))
191191
os.remove(archive_path + ".bak")
192192

193-
with pytest.raises(FileNotFoundError, match=".*\.dat.*"):
193+
with pytest.raises(FileNotFoundError, match=r".*\.dat.*"):
194194
rdrecord(archive_path)

0 commit comments

Comments
 (0)