summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-12-31 09:31:03 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-12-31 09:31:03 -0500
commitb04a2edd0b3795565982e362bae9414a0e38dbe3 (patch)
tree54e5cebf3ab2daa84d3f86bb42a297076284138a
parenta6c166617210a0b6bbdada9372f94bbc05c0382f (diff)
downloadpython-coveragepy-git-b04a2edd0b3795565982e362bae9414a0e38dbe3.tar.gz
Don't run the atexit-gettrace test during metacov
-rw-r--r--tests/test_oddball.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_oddball.py b/tests/test_oddball.py
index 68fa7265..dce65b4e 100644
--- a/tests/test_oddball.py
+++ b/tests/test_oddball.py
@@ -494,6 +494,9 @@ class GettraceTest(CoverageTest):
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