diff --git a/testing/python/raises.py b/testing/python/raises.py index 6ca19c677..912d34673 100644 --- a/testing/python/raises.py +++ b/testing/python/raises.py @@ -190,7 +190,8 @@ class TestRaises(object): pass with pytest.raises( - Failed, match="DID NOT RAISE " + Failed, + match=r"DID NOT RAISE ", ): pytest.raises(ClassLooksIterableException, lambda: None)