Skip to content

Commit c334adc

Browse files
blueyednicoddemus
andauthored
Apply suggestions from code review
Co-Authored-By: nicoddemus <[email protected]>
1 parent 6a2d122 commit c334adc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testing/python/fixtures.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,11 +566,11 @@ def test_getfixturevalue_teardown(self, testdir):
566566
"""
567567
Issue #1895
568568
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`.
571571
572572
`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`
574574
will then cause the `resource`'s finalizer to be called first because of this.
575575
"""
576576
testdir.makepyfile(

0 commit comments

Comments
 (0)