summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-02-15 08:16:47 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-02-15 08:16:47 -0500
commit7c878d199f4d94bb26aff7ba7476527171874ebe (patch)
tree66f841853c4bfc7d16a78a754bbda4c459f04583
parentcfa676a136359dc9bb3bddbb96c7a6818a24e946 (diff)
downloadpython-coveragepy-7c878d199f4d94bb26aff7ba7476527171874ebe.tar.gz
Skip a test on 2.6
-rw-r--r--tests/test_parser.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py
index 8ff0d96..0d00409 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -227,6 +227,10 @@ class ParserMissingArcDescriptionTest(CoverageTest):
)
def test_missing_arc_descriptions_for_small_callables(self):
+ # We use 2.7 features here, so just skip this test on 2.6
+ if env.PYVERSION < (2, 7):
+ self.skip("No dict or set comps in 2.6")
+
parser = self.parse_text(u"""\
callables = [
lambda: 2,