diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2020-08-17 18:10:27 -0300 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2020-08-19 08:14:28 -0300 |
commit | ef946d557cc7b7f030805b94c1dbae51f39fcce4 (patch) | |
tree | 9741d0c233e32c4bfe83b7180bf7476e44c2b306 /testing/deprecated_test.py | |
parent | b32c48ee0519f7469077ed9878bbc1d550660d78 (diff) | |
download | pytest-ef946d557cc7b7f030805b94c1dbae51f39fcce4.tar.gz |
Remove resultlog plugin
Diffstat (limited to 'testing/deprecated_test.py')
-rw-r--r-- | testing/deprecated_test.py | 20 |
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 |