Skip to content

Commit

Permalink
Fix a duplicate assignment in test_config.py
Browse files Browse the repository at this point in the history
Taken from pytest-dev#11885 that was closed.
  • Loading branch information
Pierre-Sassoulas committed Jan 31, 2024
1 parent 4546d54 commit 046f647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2109,7 +2109,7 @@ def test_pytest_plugins_in_non_top_level_conftest_unsupported_pyargs(
args = ("--pyargs", "pkg") if use_pyargs else ()
res = pytester.runpytest(*args)
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"
)
if use_pyargs:
Expand Down

0 comments on commit 046f647

Please sign in to comment.