File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -311,12 +311,12 @@ def pytest_collection_finish(session: "Session") -> None:
311
311
def pytest_ignore_collect (
312
312
collection_path : Path , path : "LEGACY_PATH" , config : "Config"
313
313
) -> Optional [bool ]:
314
- """Return ``True`` to prevent considering this path for collection.
314
+ """Return ``True`` to ignore this path for collection.
315
315
316
316
Return ``None`` to let other plugins ignore the path for collection.
317
317
318
- Returning ``False`` will forcefully consider this path to be considered
319
- for collection, without giving a chance of other plugins to ignore this file .
318
+ Returning ``False`` will forcefully *not* ignore this path for collection,
319
+ without giving a chance for other plugins to ignore this path .
320
320
321
321
This hook is consulted for all files and directories prior to calling
322
322
more specific hooks.
You can’t perform that action at this time.
0 commit comments