stash: make Stash and StashKey public

It's had enough time to bake - let's allow external plugins to use it.
This commit is contained in:
Ran Benita
2021-07-18 14:05:58 +03:00
parent 5f39e31736
commit c6bdeb8491
7 changed files with 79 additions and 29 deletions
+12
View File
@@ -962,6 +962,18 @@ Result used within :ref:`hook wrappers <hookwrapper>`.
.. automethod:: pluggy.callers._Result.get_result
.. automethod:: pluggy.callers._Result.force_result
Stash
~~~~~
.. autoclass:: pytest.Stash
:special-members: __setitem__, __getitem__, __delitem__, __contains__, __len__
:members:
.. autoclass:: pytest.StashKey
:show-inheritance:
:members:
Global Variables
----------------