Add changelog

This commit is contained in:
Andrew Svetlov 2022-01-14 15:24:39 +02:00
parent 23232f3aa0
commit efbd83fe04
No known key found for this signature in database
GPG Key ID: 3A4CCF2361BDA942
3 changed files with 11 additions and 1 deletions

View File

@ -26,6 +26,7 @@ Andrea Cimatoribus
Andreas Motl Andreas Motl
Andreas Zeidler Andreas Zeidler
Andrew Shapton Andrew Shapton
Andrew Svetlov
Andrey Paramonov Andrey Paramonov
Andrzej Klajnert Andrzej Klajnert
Andrzej Ostrowski Andrzej Ostrowski

View File

@ -0,0 +1,9 @@
Fixture types are now exported so the may be used in pytest plugin hooks.
The newly-exported types are:
- ``pytest.FixtureDef`` for :class:`FixtureDef <pytest.FixtureDef>`
- ``pytest.SubRequest`` for ``_pytest.fixtures.SubRequest`` (derived from :class:`FixtureRequest <pytest.FixtureRequest`).
They are used by ``pytest_fixture_setup`` and ``pytest_fixture_post_finalizer`` hook definitions.

View File

@ -905,7 +905,7 @@ File
FixtureDef FixtureDef
~~~~~~~~~~ ~~~~~~~~~~
.. autoclass:: _pytest.fixtures.FixtureDef() .. autoclass:: pytest.FixtureDef()
:members: :members:
:show-inheritance: :show-inheritance: