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
commit97d96cc8c6d3df79848da698b4072523cc8bb660 (patch)
tree32f95f417916315820c3df23e4e08b2f42e107d6
parent0e16713735ca0be15bec7000330ac83cc542ee9c (diff)
downloadpython-coveragepy-97d96cc8c6d3df79848da698b4072523cc8bb660.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 68fa726..dce65b4 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