Skip to content

Commit b9572ad

Browse files
committed
Use raw string
1 parent 76015c7 commit b9572ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/grass/pytest/tests/test_pytest_assertions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ def test_raster_exists(session):
77
gs.run_command("r.mapcalc", expression="test_map = 1", env=session)
88

99
raster_exists("test_map", env=session)
10-
with pytest.raises(AssertionError, match="Raster map 'missing_map' not found."):
10+
with pytest.raises(AssertionError, match=r"missing_map"):
1111
raster_exists("missing_map", env=session)

0 commit comments

Comments
 (0)