From 6bbd2b21842e28675e7b18396e9359411f22da1c Mon Sep 17 00:00:00 2001 From: John Litborn <11260241+jakkdl@users.noreply.github.com> Date: Sun, 31 Mar 2024 12:14:49 +0200 Subject: [PATCH] Update fixtures.py fix ambigious phrasing in comment --- src/_pytest/fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/fixtures.py b/src/_pytest/fixtures.py index 21d53da4e..265ed601d 100644 --- a/src/_pytest/fixtures.py +++ b/src/_pytest/fixtures.py @@ -1036,7 +1036,7 @@ class FixtureDef(Generic[FixtureValue]): def execute(self, request: SubRequest) -> FixtureValue: """Return the value of this fixture, executing it if not cached.""" - # Ensure dependent fixtures that this fixture requests are loaded. + # Ensure that the dependent fixtures requested by this fixture are loaded. # This needs to be done before checking if we have a cached value, since # if a dependent fixture has their cache invalidated, e.g. due to # parametrization, they finalize themselves and fixtures depending on it