Fix grammar in changelog/6737.breaking.rst

This commit is contained in:
Daniel Hahler 2020-02-14 19:49:08 +01:00
parent 1baeefc2fd
commit 2277817176
1 changed files with 1 additions and 1 deletions

View File

@ -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.