summaryrefslogtreecommitdiff
path: root/testing/deprecated_test.py
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2020-08-17 18:10:27 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2020-08-19 08:14:28 -0300
commitef946d557cc7b7f030805b94c1dbae51f39fcce4 (patch)
tree9741d0c233e32c4bfe83b7180bf7476e44c2b306 /testing/deprecated_test.py
parentb32c48ee0519f7469077ed9878bbc1d550660d78 (diff)
downloadpytest-ef946d557cc7b7f030805b94c1dbae51f39fcce4.tar.gz
Remove resultlog plugin
Diffstat (limited to 'testing/deprecated_test.py')
-rw-r--r--testing/deprecated_test.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/testing/deprecated_test.py b/testing/deprecated_test.py
index 5660b312a..d3db792ab 100644
--- a/testing/deprecated_test.py
+++ b/testing/deprecated_test.py
@@ -6,26 +6,6 @@ from _pytest import deprecated
from _pytest.pytester import Testdir
-@pytest.mark.filterwarnings("default")
-def test_resultlog_is_deprecated(testdir):
- result = testdir.runpytest("--help")
- result.stdout.fnmatch_lines(["*DEPRECATED path for machine-readable result log*"])
-
- testdir.makepyfile(
- """
- def test():
- pass
- """
- )
- result = testdir.runpytest("--result-log=%s" % testdir.tmpdir.join("result.log"))
- result.stdout.fnmatch_lines(
- [
- "*--result-log is deprecated, please try the new pytest-reportlog plugin.",
- "*See https://docs.pytest.org/en/stable/deprecations.html#result-log-result-log for more information*",
- ]
- )
-
-
@pytest.mark.skip(reason="should be reintroduced in 6.1: #7361")
@pytest.mark.parametrize("attribute", pytest.collect.__all__) # type: ignore
# false positive due to dynamic attribute