diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-13 16:05:37 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-13 16:05:37 -0500 |
commit | 79753a1476a407b4fe1fad69081395c497d53d21 (patch) | |
tree | 461d19a7f78ece7cf5cb27b3a6edc9977fcb40e4 /doc/source.rst | |
parent | 6a6b60426c3b45d91ab9211c50bea8ecc191e59a (diff) | |
download | python-coveragepy-git-79753a1476a407b4fe1fad69081395c497d53d21.tar.gz |
fix: suppress exceptions when finding source= modules. #1203
Diffstat (limited to 'doc/source.rst')
-rw-r--r-- | doc/source.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/source.rst b/doc/source.rst index 18eb706c..85a46a33 100644 --- a/doc/source.rst +++ b/doc/source.rst @@ -46,6 +46,8 @@ scratch files written by text editors). Files that do not end with ``.py``, isn't a problem, but could cause trouble if a module has side-effects at import time. + Exceptions during the early import are suppressed and ignored. + You can further fine-tune coverage.py's attention with the ``--include`` and ``--omit`` switches (or ``[run] include`` and ``[run] omit`` configuration values). ``--include`` is a list of file name patterns. If specified, only |