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 0db5ccb commit 7ad3fc5Copy full SHA for 7ad3fc5
testing/python/raises.py
@@ -197,7 +197,8 @@ class ClassLooksIterableException(Exception):
197
pass
198
199
with pytest.raises(
200
- Failed, match="DID NOT RAISE <class 'raises.ClassLooksIterableException'>"
+ Failed,
201
+ match=r"DID NOT RAISE <class 'raises(\..*)*ClassLooksIterableException'>",
202
):
203
pytest.raises(ClassLooksIterableException, lambda: None)
204
0 commit comments