summaryrefslogtreecommitdiff
path: root/doc/cmd.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/cmd.rst')
-rw-r--r--doc/cmd.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/cmd.rst b/doc/cmd.rst
index ef4c1135..baf1ca08 100644
--- a/doc/cmd.rst
+++ b/doc/cmd.rst
@@ -171,6 +171,13 @@ could affect the measurement process. The possible warnings include:
when coverage started. This meant coverage.py couldn't monitor its
execution.
+* "Already imported a file that will be measured: XXX (already-imported)"
+
+ File XXX had already been imported when coverage.py started measurement. Your
+ setting for ``--source`` or ``--include`` indicates that you wanted to
+ measure that file. Lines will be missing from the coverage report since the
+ execution during import hadn't been measured.
+
* "--include is ignored because --source is set (include-ignored)"
Both ``--include`` and ``--source`` were specified while running code. Both