summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpvinci <pvinci@users.noreply.github.com>2019-11-10 17:28:38 -0500
committerGitHub <noreply@github.com>2019-11-10 17:28:38 -0500
commit63bef8ecbc33b33734af1944a5ef32acfcde21bf (patch)
treedda1425003ef2f960bfe053a7de2e0af90d496a1
parentf51ce5f934153e80d3e8a95b52e1464daeb30c14 (diff)
downloadtesttools-63bef8ecbc33b33734af1944a5ef32acfcde21bf.tar.gz
Update _warnings.py
-rw-r--r--testtools/matchers/_warnings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testtools/matchers/_warnings.py b/testtools/matchers/_warnings.py
index 21cb091..c2254ee 100644
--- a/testtools/matchers/_warnings.py
+++ b/testtools/matchers/_warnings.py
@@ -22,9 +22,9 @@ from ._impl import Mismatch
def WarningMessage(category_type, message=None, filename=None, lineno=None,
line=None):
r"""
- Create a matcher that will match `warnings.WarningMessage`\s.
+ Create a matcher that will match `warnings.WarningMessage`s.
- For example, to match captured `DeprecationWarning`\s with a message about
+ For example, to match captured `DeprecationWarning`s with a message about
some ``foo`` being replaced with ``bar``:
.. code-block:: python