diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-02-20 08:26:35 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-02-20 08:26:35 -0500 |
commit | 12955ec533a5186702593130c5b194a3a69d1807 (patch) | |
tree | 2abd4b2f47bf4fd292d7a9f6ee1438a8dbd0e01f /doc/cmd.rst | |
parent | 7cc26bfa090f4cf9b6a3799d420539f757ee60d8 (diff) | |
download | python-coveragepy-12955ec533a5186702593130c5b194a3a69d1807.tar.gz |
A new warning for files already imported before coverage starts
Diffstat (limited to 'doc/cmd.rst')
-rw-r--r-- | doc/cmd.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/cmd.rst b/doc/cmd.rst index ef4c113..baf1ca0 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 |