diff options
author | Maximilian Cosmo Sitter <48606431+mcsitter@users.noreply.github.com> | 2020-08-22 16:17:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-22 11:17:50 -0300 |
commit | 75af2bfa06436752165df884d4666402529b1d6a (patch) | |
tree | c8a1de5b68e4adbc39142cef96e42111f61c6a43 /testing/deprecated_test.py | |
parent | d69abff2c7de8bc65b7f1ef867dec5b5b9c564bd (diff) | |
download | pytest-75af2bfa06436752165df884d4666402529b1d6a.tar.gz |
Reintroduce warnings postponed in 6.0 (#7637)
Diffstat (limited to 'testing/deprecated_test.py')
-rw-r--r-- | testing/deprecated_test.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/testing/deprecated_test.py b/testing/deprecated_test.py index d3db792ab..eb5d527f5 100644 --- a/testing/deprecated_test.py +++ b/testing/deprecated_test.py @@ -6,7 +6,6 @@ from _pytest import deprecated from _pytest.pytester import Testdir -@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 def test_pytest_collect_module_deprecated(attribute): @@ -24,7 +23,6 @@ def test_external_plugins_integrated(testdir, plugin): testdir.parseconfig("-p", plugin) -@pytest.mark.skip(reason="should be reintroduced in 6.1: #7361") def test_fillfuncargs_is_deprecated() -> None: with pytest.warns( pytest.PytestDeprecationWarning, @@ -33,7 +31,6 @@ def test_fillfuncargs_is_deprecated() -> None: pytest._fillfuncargs(mock.Mock()) -@pytest.mark.skip(reason="should be reintroduced in 6.1: #7361") def test_minus_k_dash_is_deprecated(testdir) -> None: threepass = testdir.makepyfile( test_threepass=""" @@ -46,7 +43,6 @@ def test_minus_k_dash_is_deprecated(testdir) -> None: result.stdout.fnmatch_lines(["*The `-k '-expr'` syntax*deprecated*"]) -@pytest.mark.skip(reason="should be reintroduced in 6.1: #7361") def test_minus_k_colon_is_deprecated(testdir) -> None: threepass = testdir.makepyfile( test_threepass=""" |