diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-12-25 12:56:31 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-12-25 12:56:31 -0500 |
commit | 54e90650ccdc77da50fa7986c1c6128d34229389 (patch) | |
tree | 1c9f3b6236df1fbb67ece1c2eda570ac65a89aa0 /coverage/inorout.py | |
parent | d6072b833eabe93f8bb4f1851cbf0680aa48dff0 (diff) | |
download | python-coveragepy-git-54e90650ccdc77da50fa7986c1c6128d34229389.tar.gz |
test: remove pycontracts
Diffstat (limited to 'coverage/inorout.py')
-rw-r--r-- | coverage/inorout.py | 9 |
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.""" |