diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2021-03-11 05:40:55 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-03-11 06:38:43 -0500 |
| commit | 29310f4bb634a8fccb5ff0453ae6686bbebcca17 (patch) | |
| tree | 1bb4c92d3ee2c6e92bc3b17bd9f67cb1011da195 /tests/coveragetest.py | |
| parent | 8aef73cc99dd9dd85217b101039a61b4a879698c (diff) | |
| download | python-coveragepy-git-29310f4bb634a8fccb5ff0453ae6686bbebcca17.tar.gz | |
refactor: no need for our own xfail wrapper
Diffstat (limited to 'tests/coveragetest.py')
| -rw-r--r-- | tests/coveragetest.py | 5 |
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) |
