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 d955b00 commit ffb1627Copy full SHA for ffb1627
testing/python/raises_group.py
@@ -1120,7 +1120,9 @@ def test_raisesexc() -> None:
1120
# currently RaisesGroup says "Raised exception did not match" but RaisesExc doesn't...
1121
with pytest.raises(
1122
AssertionError,
1123
- match=wrap_escape("Regex pattern did not match.\n Expected regex: 'foo'\n Actual message: 'bar'"),
+ match=wrap_escape(
1124
+ "Regex pattern did not match.\n Expected regex: 'foo'\n Actual message: 'bar'"
1125
+ ),
1126
):
1127
with RaisesExc(TypeError, match="foo"):
1128
raise TypeError("bar")
0 commit comments