testing/conftest.py: testdir: set PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 (#6655)
Fixes https://github.com/pytest-dev/pytest/pull/4518.
This commit is contained in:
@@ -1227,6 +1227,7 @@ def test_runs_twice(testdir, run_and_parse):
|
||||
|
||||
def test_runs_twice_xdist(testdir, run_and_parse):
|
||||
pytest.importorskip("xdist")
|
||||
testdir.monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD")
|
||||
f = testdir.makepyfile(
|
||||
"""
|
||||
def test_pass():
|
||||
|
||||
Reference in New Issue
Block a user