Skip to content

Commit bdf40d1

Browse files
committed
update changelog
1 parent 8dd5ae7 commit bdf40d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

changelog/6752.bugfix.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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).
1+
When :py:func:`pytest.raises` is used as a function (as opposed to a context manager),
2+
a `match` keyword argument is now passed through to the tested function. Previously
3+
it was swallowed and ignored (regression in pytest 5.1.0).

0 commit comments

Comments
 (0)