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