Fix syntax typo in writing_hook_functions.rst
This commit is contained in:
parent
7720154ca0
commit
4b13b5993e
|
@ -328,8 +328,8 @@ top level of your plugin:
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
been_there_key: pytest.StashKey[bool]()
|
||||
done_that_key: pytest.StashKey[str]()
|
||||
been_there_key = pytest.StashKey[bool]()
|
||||
done_that_key = pytest.StashKey[str]()
|
||||
|
||||
then use the keys to stash your data at some point:
|
||||
|
||||
|
|
Loading…
Reference in New Issue