summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/control.py b/coverage/control.py
index e9691b89..33f2ef1d 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -685,7 +685,7 @@ class Coverage(object):
self._init()
if self.include:
if self.source or self.source_pkgs:
- print("--include is ignored because --source is set")
+ self._warn("--include is ignored because --source is set", slug="include-ignored")
if self.run_suffix:
# Calling start() means we're running code, so use the run_suffix
# as the data_suffix when we eventually save the data.