diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-04-11 17:16:09 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-04-11 17:24:06 -0400 |
commit | 70ba38090b47d4dc0bd88fa39b6b1a5424d4793d (patch) | |
tree | 43af0e5a21c18a323d190a094360e262db8d01c2 /coverage/inorout.py | |
parent | 9c47249d13326de86b910d0dcc10410210585e1e (diff) | |
download | python-coveragepy-git-70ba38090b47d4dc0bd88fa39b6b1a5424d4793d.tar.gz |
fix: restore metacov functioning
The check for coverage files inside the --source check disables our
metacoverage. Removing it means that coverage files will still not be
measured, but the reason will be given as "is third-party" rather than
"is part of coverage.py," which is a small price to pay.
Diffstat (limited to 'coverage/inorout.py')
-rw-r--r-- | coverage/inorout.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/coverage/inorout.py b/coverage/inorout.py index 93dbef0e..b023db0b 100644 --- a/coverage/inorout.py +++ b/coverage/inorout.py @@ -429,8 +429,6 @@ class InOrOut(object): ok = True if not ok: return extra + "falls outside the --source spec" - if self.cover_match.match(filename): - return "inside --source, but is part of coverage.py" if not self.source_in_third: if self.third_match.match(filename): return "inside --source, but is third-party" |