Fix a duplicate assignment in test_config.py
Taken from https://github.com/pytest-dev/pytest/pull/11885 that was closed.
This commit is contained in:
parent
4546d5445a
commit
046f64751b
|
@ -2109,7 +2109,7 @@ class TestPytestPluginsVariable:
|
||||||
args = ("--pyargs", "pkg") if use_pyargs else ()
|
args = ("--pyargs", "pkg") if use_pyargs else ()
|
||||||
res = pytester.runpytest(*args)
|
res = pytester.runpytest(*args)
|
||||||
assert res.ret == (0 if use_pyargs else 2)
|
assert res.ret == (0 if use_pyargs else 2)
|
||||||
msg = msg = (
|
msg = (
|
||||||
"Defining 'pytest_plugins' in a non-top-level conftest is no longer supported"
|
"Defining 'pytest_plugins' in a non-top-level conftest is no longer supported"
|
||||||
)
|
)
|
||||||
if use_pyargs:
|
if use_pyargs:
|
||||||
|
|
Loading…
Reference in New Issue