diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-02 10:38:56 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-10 09:46:18 -0500 |
commit | e3f8053d805f8930ffc8424ac098576457c5f506 (patch) | |
tree | e34badb9cdbe80b7f9360efd8fe75f266ea04708 /tests/coveragetest.py | |
parent | 3adae9b5cdf67f7364607e3ca7307fa6ebbe1b08 (diff) | |
download | python-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.py | 2 |
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) |