diff options
author | Daniel Hahler <git@thequod.de> | 2020-02-04 02:59:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-04 02:59:20 +0100 |
commit | 4316fe8a92ce457b897043c32bb49243858e9960 (patch) | |
tree | 943e61aa6dac7d12988cb310c9ccfb8e76e0884c /testing/test_helpconfig.py | |
parent | aa0328782f9c92d7497ff28f77972afe3cb5b8e2 (diff) | |
download | pytest-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.py | 1 |
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() |