summaryrefslogtreecommitdiff
path: root/testing/deprecated_test.py
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2019-06-30 12:18:14 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2019-06-30 13:18:07 -0300
commitf2b7809d5d2c04afc3f04f6989e0b327ca753b88 (patch)
treefaaeacf3e0c3290e937474f010b354ab654a096e /testing/deprecated_test.py
parent647d89c44495a8105c2eec947a0c11fb55bc9e3c (diff)
downloadpytest-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.py24
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")