From f0d538329ce977b1e280ae3bf6451fec530189de Mon Sep 17 00:00:00 2001 From: Gene Wood Date: Mon, 9 Sep 2019 12:14:09 -0700 Subject: [PATCH] Update doc regarding pytest.raises Remove reference to the `message` argument in the docs as it was deprecated in #4539 --- doc/en/reference.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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