[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-03-16 21:23:34 +00:00
parent 74e094127a
commit 13d104948a
1 changed files with 3 additions and 3 deletions

View File

@ -4697,12 +4697,12 @@ def test_scoped_fixture_caching_exception(pytester: Pytester) -> None:
result = pytester.runpytest()
assert result.ret == 0
def test_scoped_fixture_teardown_order(pytester: Pytester) -> None:
"""
Make sure teardowns happen in reverse order of setup with scoped fixtures, when
a later test only depends on a subset of scoped fixtures.
Regression test for https://github.com/pytest-dev/pytest/issues/1489
"""
pytester.makepyfile(
@ -4750,4 +4750,4 @@ def test_scoped_fixture_teardown_order(pytester: Pytester) -> None:
"""
)
result = pytester.runpytest()
assert result.ret == 0
assert result.ret == 0