summaryrefslogtreecommitdiff
path: root/tests/coveragetest.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-01-02 10:38:56 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-01-10 09:46:18 -0500
commite3f8053d805f8930ffc8424ac098576457c5f506 (patch)
treee34badb9cdbe80b7f9360efd8fe75f266ea04708 /tests/coveragetest.py
parent3adae9b5cdf67f7364607e3ca7307fa6ebbe1b08 (diff)
downloadpython-coveragepy-git-e3f8053d805f8930ffc8424ac098576457c5f506.tar.gz
PEP 626: constant tests are kept as no-ops
The conditionals are now getting unwieldy, perhaps we can simplify them in the future?
Diffstat (limited to 'tests/coveragetest.py')
-rw-r--r--tests/coveragetest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py
index b2763b04..dbadd226 100644
--- a/tests/coveragetest.py
+++ b/tests/coveragetest.py
@@ -509,5 +509,5 @@ def command_line(args):
def xfail(condition, reason):
- """A decorator to mark as test as expected to fail."""
+ """A decorator to mark a test as expected to fail."""
return pytest.mark.xfail(condition, reason=reason, strict=True)