Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/4255.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added missing documentation about the fact that module names passed to filter warnings are not regex-escaped.
1 change: 1 addition & 0 deletions doc/en/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ Add warning filters to marked test items.
A *warning specification string*, which is composed of contents of the tuple ``(action, message, category, module, lineno)``
as specified in `The Warnings filter <https://docs.python.org/3/library/warnings.html#warning-filter>`_ section of
the Python documentation, separated by ``":"``. Optional fields can be omitted.
Module names passed for filtering are not regex-escaped.

For example:

Expand Down