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, 2 insertions, 2 deletions
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}