summaryrefslogtreecommitdiff
path: root/tests/test_arcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_arcs.py')
-rw-r--r--tests/test_arcs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_arcs.py b/tests/test_arcs.py
index cab95c8f..9af4a083 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"