diff --git a/doc/en/reference.rst b/doc/en/reference.rst index 991050c23..b6df27f9c 100644 --- a/doc/en/reference.rst +++ b/doc/en/reference.rst @@ -59,7 +59,7 @@ pytest.raises **Tutorial**: :ref:`assertraises`. -.. autofunction:: pytest.raises(expected_exception: Exception, [match], [message]) +.. autofunction:: pytest.raises(expected_exception: Exception, [match]) :with: excinfo pytest.deprecated_call