summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coverage/inorout.py2
-rw-r--r--tests/test_process.py2
2 files changed, 1 insertions, 3 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"
diff --git a/tests/test_process.py b/tests/test_process.py
index ef3bbedc..2447cffe 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -1749,7 +1749,7 @@ class VirtualenvTest(CoverageTest):
debug_out = self.get_trace_output()
assert re_lines(
debug_out,
- r"^Not tracing .*\bexecfile.py': inside --source, but is part of coverage.py"
+ r"^Not tracing .*\bexecfile.py': inside --source, but is third-party"
)
assert re_lines(debug_out, r"^Tracing .*\bmyproduct.py")
assert re_lines(