diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-21 09:46:42 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-21 09:46:42 -0500 |
commit | 39a2b1b171d7571a8ac87bbcf220d29ea5548018 (patch) | |
tree | 4d4461056c4b8db372c47c94242c3641a6165069 | |
parent | 08ee52e38f27e3ffee4423f15297f204c08be19e (diff) | |
download | python-coveragepy-git-39a2b1b171d7571a8ac87bbcf220d29ea5548018.tar.gz |
test(refactor): if two skips apply, put the more significant reason closer to the def
-rw-r--r-- | tests/test_arcs.py | 2 | ||||
-rw-r--r-- | tests/test_process.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py index 312efdc7..82bf88fe 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -1324,8 +1324,8 @@ class YieldTest(CoverageTest): ) -@pytest.mark.skipif(not env.PYBEHAVIOR.match_case, reason="Match-case is new in 3.10") @pytest.mark.skipif(env.PYVERSION <= (3, 10, 0, 'beta', 4, 0), reason="3.10.0b4 had bugs") +@pytest.mark.skipif(not env.PYBEHAVIOR.match_case, reason="Match-case is new in 3.10") class MatchCaseTest(CoverageTest): """Tests of match-case.""" def test_match_case_with_default(self): diff --git a/tests/test_process.py b/tests/test_process.py index b332b3a6..1f2b66ca 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -743,8 +743,8 @@ class ProcessTest(CoverageTest): assert msg in out @pytest.mark.expensive - @pytest.mark.skipif(env.METACOV, reason="Can't test fullcoverage when measuring ourselves") @pytest.mark.skipif(not env.C_TRACER, reason="fullcoverage only works with the C tracer.") + @pytest.mark.skipif(env.METACOV, reason="Can't test fullcoverage when measuring ourselves") def test_fullcoverage(self): # fullcoverage is a trick to get stdlib modules measured from # the very beginning of the process. Here we import os and |