From 54e90650ccdc77da50fa7986c1c6128d34229389 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 25 Dec 2022 12:56:31 -0500 Subject: test: remove pycontracts --- coverage/inorout.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'coverage/inorout.py') 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.""" -- cgit v1.2.1