diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2019-06-30 12:18:14 -0300 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2019-06-30 13:18:07 -0300 |
commit | f2b7809d5d2c04afc3f04f6989e0b327ca753b88 (patch) | |
tree | faaeacf3e0c3290e937474f010b354ab654a096e /testing/deprecated_test.py | |
parent | 647d89c44495a8105c2eec947a0c11fb55bc9e3c (diff) | |
download | pytest-f2b7809d5d2c04afc3f04f6989e0b327ca753b88.tar.gz |
Move setup.cfg error message and tests to an appropriate location
Those are not really deprecated anymore and are part of the normal
code for config
Diffstat (limited to 'testing/deprecated_test.py')
-rw-r--r-- | testing/deprecated_test.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/testing/deprecated_test.py b/testing/deprecated_test.py index 1730e740a..e4a8f72bc 100644 --- a/testing/deprecated_test.py +++ b/testing/deprecated_test.py @@ -4,30 +4,6 @@ from _pytest import deprecated pytestmark = pytest.mark.pytester_example_path("deprecated") -def test_pytest_setup_cfg_unsupported(testdir): - testdir.makefile( - ".cfg", - setup=""" - [pytest] - addopts = --verbose - """, - ) - with pytest.raises(pytest.fail.Exception): - testdir.runpytest() - - -def test_pytest_custom_cfg_unsupported(testdir): - testdir.makefile( - ".cfg", - custom=""" - [pytest] - addopts = --verbose - """, - ) - with pytest.raises(pytest.fail.Exception): - testdir.runpytest("-c", "custom.cfg") - - @pytest.mark.filterwarnings("default") def test_resultlog_is_deprecated(testdir): result = testdir.runpytest("--help") |