summaryrefslogtreecommitdiff
path: root/coverage/inorout.py
diff options
context:
space:
mode:
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."""