We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0fecfff + 8071ad6 commit 443aa02Copy full SHA for 443aa02
doc/en/how-to/writing_hook_functions.rst
@@ -321,7 +321,7 @@ Plugins often need to store data on :class:`~pytest.Item`\s in one hook
321
implementation, and access it in another. One common solution is to just
322
assign some private attribute directly on the item, but type-checkers like
323
mypy frown upon this, and it may also cause conflicts with other plugins.
324
-So pytest offers a better way to do this, :attr:`_pytest.nodes.Node.stash <item.stash>`.
+So pytest offers a better way to do this, :attr:`item.stash <_pytest.nodes.Node.stash>`.
325
326
To use the "stash" in your plugins, first create "stash keys" somewhere at the
327
top level of your plugin:
0 commit comments