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_terminal.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_terminal.py')
-rw-r--r-- | testing/test_terminal.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/test_terminal.py b/testing/test_terminal.py index c3a0c17e1..cc2f6d5fb 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -604,6 +604,7 @@ class TestTerminalFunctional: assert result.ret == 0 def test_header_trailer_info(self, testdir, request): + testdir.monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD") testdir.makepyfile( """ def test_passes(): @@ -714,6 +715,7 @@ class TestTerminalFunctional: if not pytestconfig.pluginmanager.get_plugin("xdist"): pytest.skip("xdist plugin not installed") + testdir.monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD") result = testdir.runpytest( verbose_testfile, "-v", "-n 1", "-Walways::pytest.PytestWarning" ) |