summaryrefslogtreecommitdiff
path: root/tests/test_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_parser.py')
-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 8ff0d966..0d00409e 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,