diff options
Diffstat (limited to 'tests/test_oddball.py')
-rw-r--r-- | tests/test_oddball.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_oddball.py b/tests/test_oddball.py index afbf232a..f4565607 100644 --- a/tests/test_oddball.py +++ b/tests/test_oddball.py @@ -493,11 +493,10 @@ class GettraceTest(CoverageTest): assert expected == out @pytest.mark.expensive - def test_atexit_gettrace(self): # pragma: no metacov + @pytest.mark.skipif(env.METACOV, reason="Can't set trace functions during meta-coverage") + def test_atexit_gettrace(self): # This is not a test of coverage at all, but of our understanding # of this edge-case behavior in various Pythons. - if env.METACOV: - self.skipTest("Can't set trace functions during meta-coverage") self.make_file("atexit_gettrace.py", """\ import atexit, sys |