summaryrefslogtreecommitdiff
path: root/tests
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
commit667678857410a9e137cf3b503bd373543eeda1a8 (patch)
tree1361430596e0fda7c482bc4811b4940ad06fc7df /tests
parent2d03d1b61673489e89b77789d864626c24791ced (diff)
downloadpython-coveragepy-git-667678857410a9e137cf3b503bd373543eeda1a8.tar.gz
Add clarification about warnings tests.
Diffstat (limited to '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 5f3457f2..28b6b184 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