[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
9a1c8b31c7
commit
ba8ed28858
|
@ -4368,7 +4368,11 @@ def test_fixture_double_decorator(pytester: Pytester) -> None:
|
||||||
)
|
)
|
||||||
result = pytester.runpytest()
|
result = pytester.runpytest()
|
||||||
result.assert_outcomes(errors=1)
|
result.assert_outcomes(errors=1)
|
||||||
result.stdout.fnmatch_lines(["E * ValueError: @pytest.fixture is being applied more than once to the same function 'fixt'"])
|
result.stdout.fnmatch_lines(
|
||||||
|
[
|
||||||
|
"E * ValueError: @pytest.fixture is being applied more than once to the same function 'fixt'"
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def test_fixture_param_shadowing(pytester: Pytester) -> None:
|
def test_fixture_param_shadowing(pytester: Pytester) -> None:
|
||||||
|
|
Loading…
Reference in New Issue