Add changelog
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -26,6 +26,7 @@ Andrea Cimatoribus
|
||||
Andreas Motl
|
||||
Andreas Zeidler
|
||||
Andrew Shapton
|
||||
Andrew Svetlov
|
||||
Andrey Paramonov
|
||||
Andrzej Klajnert
|
||||
Andrzej Ostrowski
|
||||
|
||||
9
changelog/9510.feature.rst
Normal file
9
changelog/9510.feature.rst
Normal 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.
|
||||
@@ -905,7 +905,7 @@ File
|
||||
FixtureDef
|
||||
~~~~~~~~~~
|
||||
|
||||
.. autoclass:: _pytest.fixtures.FixtureDef()
|
||||
.. autoclass:: pytest.FixtureDef()
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user