File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -566,11 +566,11 @@ def test_getfixturevalue_teardown(self, testdir):
566
566
"""
567
567
Issue #1895
568
568
569
- `test_inner` requests `inner` fixture, which in turns requests `resource`
570
- using getfixturevalue. `test_func` then requests `resource`.
569
+ `test_inner` requests `inner` fixture, which in turn requests `resource`
570
+ using ` getfixturevalue` . `test_func` then requests `resource`.
571
571
572
572
`resource` is teardown before `inner` because the fixture mechanism won't consider
573
- `inner` dependent on `resource` when it is get via `getfixturevalue`: `test_func`
573
+ `inner` dependent on `resource` when it is used via `getfixturevalue`: `test_func`
574
574
will then cause the `resource`'s finalizer to be called first because of this.
575
575
"""
576
576
testdir .makepyfile (
You can’t perform that action at this time.
0 commit comments