Skip to content

Commit

Permalink
Fixes pytest-dev#4255 by adding to the documentation that module name…
Browse files Browse the repository at this point in the history
…s are not regex-escaped
  • Loading branch information
Palash Chatterjee committed Oct 28, 2018
1 parent bab1ef5 commit 65b8246
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit 65b8246

Please sign in to comment.