summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-04-12 11:22:19 -0400
committerNed Batchelder <ned@nedbatchelder.com>2017-04-12 11:22:19 -0400
commit09396ba59873df911de9d1a1b59620781af0e1b4 (patch)
tree5556e307f3545306853660d9350dc607586ef8c3
parent8623486761fd2de4608c668341f2efc0db2e284e (diff)
downloadpython-coveragepy-09396ba59873df911de9d1a1b59620781af0e1b4.tar.gz
Add clarification about warnings tests.
-rw-r--r--tests/coveragetest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py
index 5f3457f..28b6b18 100644
--- a/tests/coveragetest.py
+++ b/tests/coveragetest.py
@@ -278,6 +278,7 @@ class CoverageTest(
`cov` is a Coverage instance. `warnings` is a list of regexes. Every
regex must match a warning that was issued by `cov`. It is OK for
extra warnings to be issued by `cov` that are not matched by any regex.
+ Warnings that are disabled are still considered issued by this function.
`not_warnings` is a list of regexes that must not appear in the
warnings. This is only checked if there are some positive warnings to