We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76015c7 commit b9572adCopy full SHA for b9572ad
1 file changed
python/grass/pytest/tests/test_pytest_assertions.py
@@ -7,5 +7,5 @@ def test_raster_exists(session):
7
gs.run_command("r.mapcalc", expression="test_map = 1", env=session)
8
9
raster_exists("test_map", env=session)
10
- with pytest.raises(AssertionError, match="Raster map 'missing_map' not found."):
+ with pytest.raises(AssertionError, match=r"missing_map"):
11
raster_exists("missing_map", env=session)
0 commit comments