We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dd5ae7 commit bdf40d1Copy full SHA for bdf40d1
changelog/6752.bugfix.rst
@@ -1,3 +1,3 @@
1
-Pass `match` keyword argument to the tested function with
2
-:py:func:`pytest.raises` used as a function - previously it was ignored
3
-(regression in pytest 5.1.0).
+When :py:func:`pytest.raises` is used as a function (as opposed to a context manager),
+a `match` keyword argument is now passed through to the tested function. Previously
+it was swallowed and ignored (regression in pytest 5.1.0).
0 commit comments