summaryrefslogtreecommitdiff
path: root/tests/coveragetest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/coveragetest.py')
-rw-r--r--tests/coveragetest.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py
index 8427f4ad..c52892b5 100644
--- a/tests/coveragetest.py
+++ b/tests/coveragetest.py
@@ -478,8 +478,3 @@ def command_line(args):
script = CoverageScript()
ret = script.command_line(shlex.split(args))
return ret
-
-
-def xfail(condition, reason):
- """A decorator to mark a test as expected to fail."""
- return pytest.mark.xfail(condition, reason=reason, strict=True)