diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-11-03 18:14:28 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-11-03 18:14:28 -0400 |
commit | 0ef5fd2ff22f5b18f084e36b095c74d15a2e6a12 (patch) | |
tree | 609155a3beb54f5188ca586d5e7f622997791b3a | |
parent | 6b9a2319e10d01704da723f33ddd864517ae13be (diff) | |
download | python-coveragepy-git-0ef5fd2ff22f5b18f084e36b095c74d15a2e6a12.tar.gz |
Keep 2.6 working
-rw-r--r-- | tests/test_parser.py | 4 |
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} |