[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
74e094127a
commit
13d104948a
|
@ -4697,12 +4697,12 @@ def test_scoped_fixture_caching_exception(pytester: Pytester) -> None:
|
||||||
result = pytester.runpytest()
|
result = pytester.runpytest()
|
||||||
assert result.ret == 0
|
assert result.ret == 0
|
||||||
|
|
||||||
|
|
||||||
def test_scoped_fixture_teardown_order(pytester: Pytester) -> None:
|
def test_scoped_fixture_teardown_order(pytester: Pytester) -> None:
|
||||||
"""
|
"""
|
||||||
Make sure teardowns happen in reverse order of setup with scoped fixtures, when
|
Make sure teardowns happen in reverse order of setup with scoped fixtures, when
|
||||||
a later test only depends on a subset of scoped fixtures.
|
a later test only depends on a subset of scoped fixtures.
|
||||||
|
|
||||||
Regression test for https://github.com/pytest-dev/pytest/issues/1489
|
Regression test for https://github.com/pytest-dev/pytest/issues/1489
|
||||||
"""
|
"""
|
||||||
pytester.makepyfile(
|
pytester.makepyfile(
|
||||||
|
@ -4750,4 +4750,4 @@ def test_scoped_fixture_teardown_order(pytester: Pytester) -> None:
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
result = pytester.runpytest()
|
result = pytester.runpytest()
|
||||||
assert result.ret == 0
|
assert result.ret == 0
|
||||||
|
|
Loading…
Reference in New Issue