summaryrefslogtreecommitdiff
path: root/testing/test_helpconfig.py
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2020-02-04 02:59:20 +0100
committerGitHub <noreply@github.com>2020-02-04 02:59:20 +0100
commit4316fe8a92ce457b897043c32bb49243858e9960 (patch)
tree943e61aa6dac7d12988cb310c9ccfb8e76e0884c /testing/test_helpconfig.py
parentaa0328782f9c92d7497ff28f77972afe3cb5b8e2 (diff)
downloadpytest-4316fe8a92ce457b897043c32bb49243858e9960.tar.gz
testing/conftest.py: testdir: set PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 (#6655)
Fixes https://github.com/pytest-dev/pytest/pull/4518.
Diffstat (limited to 'testing/test_helpconfig.py')
-rw-r--r--testing/test_helpconfig.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/test_helpconfig.py b/testing/test_helpconfig.py
index 1dee5b0f5..a06ba0e26 100644
--- a/testing/test_helpconfig.py
+++ b/testing/test_helpconfig.py
@@ -3,6 +3,7 @@ from _pytest.main import ExitCode
def test_version(testdir, pytestconfig):
+ testdir.monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD")
result = testdir.runpytest("--version")
assert result.ret == 0
# p = py.path.local(py.__file__).dirpath()