Skip to content

Commit 1a4d99f

Browse files
Apply ruff rule RUF043
RUF043 Pattern passed to `match=` contains metacharacters but is neither escaped nor raw
1 parent dffde80 commit 1a4d99f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numcodecs/tests/test_zarr3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def test_generic_filter_packbits(store: StorePath):
181181
a = zarr.open_array(store / "generic_packbits", mode="r")
182182
np.testing.assert_array_equal(data, a[:, :])
183183

184-
with pytest.raises(ValueError, match=".*requires bool dtype.*"):
184+
with pytest.raises(ValueError, match=r".*requires bool dtype.*"):
185185
zarr.create_array(
186186
store / "generic_packbits_err",
187187
shape=data.shape,

0 commit comments

Comments
 (0)