summaryrefslogtreecommitdiff
path: root/testing/deprecated_test.py
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2019-06-30 11:48:27 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2019-06-30 13:18:06 -0300
commit13f7f27fd2f99db956de03112add27288d2ce6af (patch)
tree7523b1b9040b01be89482bfc5e9bd37bc78839eb /testing/deprecated_test.py
parent279733a30b700bc30848c4d4ff10f65c454e952b (diff)
downloadpytest-13f7f27fd2f99db956de03112add27288d2ce6af.tar.gz
Remove 'message' parameter from pytest.raises
Diffstat (limited to 'testing/deprecated_test.py')
-rw-r--r--testing/deprecated_test.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/testing/deprecated_test.py b/testing/deprecated_test.py
index 4ce89113d..4db4a9c98 100644
--- a/testing/deprecated_test.py
+++ b/testing/deprecated_test.py
@@ -76,12 +76,6 @@ def test_external_plugins_integrated(testdir, plugin):
testdir.parseconfig("-p", plugin)
-def test_raises_message_argument_deprecated():
- with pytest.warns(pytest.PytestDeprecationWarning):
- with pytest.raises(RuntimeError, message="foobar"):
- raise RuntimeError
-
-
def test_pytest_plugins_in_non_top_level_conftest_deprecated(testdir):
from _pytest.deprecated import PYTEST_PLUGINS_FROM_NON_TOP_LEVEL_CONFTEST