summaryrefslogtreecommitdiff
path: root/coverage/inorout.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-12-25 12:56:31 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-12-25 12:56:31 -0500
commit54e90650ccdc77da50fa7986c1c6128d34229389 (patch)
tree1c9f3b6236df1fbb67ece1c2eda570ac65a89aa0 /coverage/inorout.py
parentd6072b833eabe93f8bb4f1851cbf0680aa48dff0 (diff)
downloadpython-coveragepy-git-54e90650ccdc77da50fa7986c1c6128d34229389.tar.gz
test: remove pycontracts
Diffstat (limited to 'coverage/inorout.py')
-rw-r--r--coverage/inorout.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/coverage/inorout.py b/coverage/inorout.py
index d69837f9..fcb45974 100644
--- a/coverage/inorout.py
+++ b/coverage/inorout.py
@@ -176,15 +176,6 @@ def add_coverage_paths(paths):
# Don't include our own test code.
paths.add(os.path.join(cover_path, "tests"))
- # When testing, we use PyContracts, which should be considered
- # part of coverage.py, and it uses six. Exclude those directories
- # just as we exclude ourselves.
- if env.USE_CONTRACTS:
- import contracts
- import six
- for mod in [contracts, six]:
- paths.add(canonical_path(mod))
-
class InOrOut:
"""Machinery for determining what files to measure."""