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.
match
1 parent 4f968c6 commit c808caeCopy full SHA for c808cae
doc/en/how-to/assert.rst
@@ -115,7 +115,7 @@ that a regular expression matches on the string representation of an exception
115
with pytest.raises(ValueError, match=r".* 123 .*"):
116
myfunc()
117
118
-The regexp parameter of the ``match`` method is matched with the ``re.search``
+The regexp parameter of the ``match`` parameter is matched with the ``re.search``
119
function, so in the above example ``match='123'`` would have worked as
120
well.
121
0 commit comments