diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-01-10 08:09:20 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-01-10 16:15:22 -0500 |
commit | 38a19aaf5c90df48a9b157bfba1bc97d62991e01 (patch) | |
tree | 8e68d5af204ff32dfa469c68857f6ba7b9fc5cb0 /tests/test_arcs.py | |
parent | a85ac5a10b297b20a37364ed07981cc1f5da1638 (diff) | |
download | python-coveragepy-git-38a19aaf5c90df48a9b157bfba1bc97d62991e01.tar.gz |
style(test): full env.PYVERSION can be used for <= comparisons
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r-- | tests/test_arcs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py index 896d0646..978a3731 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -1966,7 +1966,7 @@ class AsyncTest(CoverageTest): # https://github.com/nedbat/coveragepy/issues/1176 # https://bugs.python.org/issue44622 @pytest.mark.skipif( - (3, 10, 0, "alpha", 0, 0) <= env.PYVERSION[:6] <= (3, 10, 0, "beta", 4, 0), + (3, 10, 0, "alpha", 0, 0) <= env.PYVERSION <= (3, 10, 0, "beta", 4, 0), reason="avoid a 3.10 bug fixed after beta 4: 44622" ) @skip_eventlet_670 @@ -1991,7 +1991,7 @@ class AsyncTest(CoverageTest): # https://github.com/nedbat/coveragepy/issues/1205 # https://bugs.python.org/issue44840 @pytest.mark.skipif( - (3, 10, 0, "alpha", 0, 0) <= env.PYVERSION[:6] <= (3, 10, 0, "candidate", 1, 0), + (3, 10, 0, "alpha", 0, 0) <= env.PYVERSION <= (3, 10, 0, "candidate", 1, 0), reason="avoid a 3.10 bug fixed after rc1: 44840" ) def test_bug_1205(self): |