Skip to content

Commit ef06e43

Browse files
Fix example in pytest_collection_modifyitems (#13152) (#13154)
Ref #13149 (cherry picked from commit 4a6a512) Co-authored-by: Bruno Oliveira <[email protected]>
1 parent 02519fd commit ef06e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/hookspec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def pytest_collection_modifyitems(
277277
When items are deselected (filtered out from ``items``),
278278
the hook :hook:`pytest_deselected` must be called explicitly
279279
with the deselected items to properly notify other plugins,
280-
e.g. with ``config.hook.pytest_deselected(deselected_items)``.
280+
e.g. with ``config.hook.pytest_deselected(items=deselected_items)``.
281281
282282
:param session: The pytest session object.
283283
:param config: The pytest config object.

0 commit comments

Comments
 (0)