From 667678857410a9e137cf3b503bd373543eeda1a8 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 12 Apr 2017 11:22:19 -0400 Subject: Add clarification about warnings tests. --- tests/coveragetest.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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 -- cgit v1.2.1