diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-01-05 07:17:27 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-01-05 07:17:27 -0500 |
commit | 72cbb6698e2ff43de9f155d6d4893d7993b31b41 (patch) | |
tree | fde460e21370c8be0ecfb3b2aed5704492e71a49 /tests/test_arcs.py | |
parent | 452f6f60c89119f1de1254ab9c5f4e25ac2f073d (diff) | |
download | python-coveragepy-72cbb6698e2ff43de9f155d6d4893d7993b31b41.tar.gz |
Tweak the conditional for the start-point of dictcomps
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r-- | tests/test_arcs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py index cab95c8..9af4a08 100644 --- a/tests/test_arcs.py +++ b/tests/test_arcs.py @@ -397,7 +397,7 @@ class LoopArcTest(CoverageTest): def test_multiline_dict_comp(self): if env.PYVERSION < (2, 7): self.skip("Don't have set or dict comprehensions before 2.7") - if env.PY2: + if env.PYVERSION < (3, 5): arcz = ".2 2B B-4 2-4" else: arcz = ".2 2B B-3 2-3" @@ -418,7 +418,7 @@ class LoopArcTest(CoverageTest): arcz=arcz, ) # Multi dict comp: - if env.PY2: + if env.PYVERSION < (3, 5): arcz = ".2 2F F-4 2-4" else: arcz = ".2 2F F-3 2-3" |