From 2277817176079b5b815304195035036dad3e267f Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 14 Feb 2020 19:49:08 +0100 Subject: [PATCH] Fix grammar in changelog/6737.breaking.rst --- changelog/6737.breaking.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog/6737.breaking.rst b/changelog/6737.breaking.rst index aad661e87..e024658ba 100644 --- a/changelog/6737.breaking.rst +++ b/changelog/6737.breaking.rst @@ -1,7 +1,7 @@ The ``cached_result`` attribute of ``FixtureDef`` is now set to ``None`` when the result is unavailable, instead of being deleted. -If your plugin perform checks like ``hasattr(fixturedef, 'cached_result')``, +If your plugin performs checks like ``hasattr(fixturedef, 'cached_result')``, for example in a ``pytest_fixture_post_finalizer`` hook implementation, replace it with ``fixturedef.cached_result is not None``. If you ``del`` the attribute, set it to ``None`` instead.