From c334adc78ff54a7fef992b62e2fc425d924bc8a1 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 3 Mar 2019 11:20:00 -0300 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: nicoddemus --- testing/python/fixtures.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/python/fixtures.py b/testing/python/fixtures.py index 7b328c5b2..1ea37f85c 100644 --- a/testing/python/fixtures.py +++ b/testing/python/fixtures.py @@ -566,11 +566,11 @@ class TestRequestBasic(object): """ Issue #1895 - `test_inner` requests `inner` fixture, which in turns requests `resource` - using getfixturevalue. `test_func` then requests `resource`. + `test_inner` requests `inner` fixture, which in turn requests `resource` + using `getfixturevalue`. `test_func` then requests `resource`. `resource` is teardown before `inner` because the fixture mechanism won't consider - `inner` dependent on `resource` when it is get via `getfixturevalue`: `test_func` + `inner` dependent on `resource` when it is used via `getfixturevalue`: `test_func` will then cause the `resource`'s finalizer to be called first because of this. """ testdir.makepyfile(