summaryrefslogtreecommitdiff
path: root/tests/test_farm.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-06-27 12:21:25 -0400
committerNed Batchelder <ned@nedbatchelder.com>2018-06-27 12:21:25 -0400
commitc21f61175ecca0a1f25d73f2e7337e818aacae74 (patch)
treedc171628e88819a6b44efdebc7a91c7fdf776a9e /tests/test_farm.py
parent18a4324a05afd552f99396b18d88ddcb025c9908 (diff)
downloadpython-coveragepy-git-c21f61175ecca0a1f25d73f2e7337e818aacae74.tar.gz
Exclude a failure-only line
Diffstat (limited to 'tests/test_farm.py')
-rw-r--r--tests/test_farm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_farm.py b/tests/test_farm.py
index 9fb48e85..a23931a5 100644
--- a/tests/test_farm.py
+++ b/tests/test_farm.py
@@ -148,7 +148,7 @@ def noop(*args_unused, **kwargs_unused):
def copy(src, dst):
"""Copy a directory."""
if os.path.exists(dst):
- pytest.fail('%s already exists.' % os.path.join(os.getcwd(), dst))
+ pytest.fail('%s already exists.' % os.path.join(os.getcwd(), dst)) # pragma: only failure
shutil.copytree(src, dst)