Merge pull request #4258 from pecey/tmp/issue-4255

Fixes #4255 by adding to the doc that module names are not regex-escaped
This commit is contained in:
Bruno Oliveira 2018-10-28 09:44:13 -03:00 committed by GitHub
commit e6e40db9c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
changelog/4255.doc.rst Normal file
View File

@ -0,0 +1 @@
Added missing documentation about the fact that module names passed to filter warnings are not regex-escaped.

View File

@ -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: