diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-02-15 08:16:47 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-02-15 08:16:47 -0500 |
commit | 1db658008c1c5b8802c7eeaa2bdfab55441949fe (patch) | |
tree | 4f06b274c8568bee76f45dac569bd5e1a74c1033 /tests/test_parser.py | |
parent | 7f46281ae6b236a8224a744c25b16e20739ad2db (diff) | |
download | python-coveragepy-git-1db658008c1c5b8802c7eeaa2bdfab55441949fe.tar.gz |
Skip a test on 2.6
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r-- | tests/test_parser.py | 4 |
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, |