From 0ef5fd2ff22f5b18f084e36b095c74d15a2e6a12 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 3 Nov 2018 18:14:28 -0400 Subject: Keep 2.6 working --- tests/test_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_parser.py b/tests/test_parser.py index 146f8308..686e8bfd 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -200,11 +200,11 @@ class PythonParserTest(CoverageTest): """) if env.PYBEHAVIOR.trace_decorated_def: - expected_statements = {1, 2, 4, 5, 8, 9, 10} + expected_statements = set([1, 2, 4, 5, 8, 9, 10]) expected_arcs = set(self.arcz_to_arcs(".1 14 45 58 89 9. .2 2. -8A A-8")) expected_exits = {1: 1, 2: 1, 4: 1, 5: 1, 8: 1, 9: 1, 10: 1} else: - expected_statements = {1, 2, 4, 8, 10} + expected_statements = set([1, 2, 4, 8, 10]) expected_arcs = set(self.arcz_to_arcs(".1 14 48 8. .2 2. -8A A-8")) expected_exits = {1: 1, 2: 1, 4: 1, 8: 1, 10: 1} -- cgit v1.2.1