Skip to content

Commit e6e40db

Browse files
authored
Merge pull request #4258 from pecey/tmp/issue-4255
Fixes #4255 by adding to the doc that module names are not regex-escaped
2 parents bab1ef5 + c3acf04 commit e6e40db

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

changelog/4255.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added missing documentation about the fact that module names passed to filter warnings are not regex-escaped.

doc/en/reference.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ Add warning filters to marked test items.
117117
A *warning specification string*, which is composed of contents of the tuple ``(action, message, category, module, lineno)``
118118
as specified in `The Warnings filter <https://docs.python.org/3/library/warnings.html#warning-filter>`_ section of
119119
the Python documentation, separated by ``":"``. Optional fields can be omitted.
120+
Module names passed for filtering are not regex-escaped.
120121

121122
For example:
122123

0 commit comments

Comments
 (0)