diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-12-31 11:22:42 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-12-31 11:58:08 -0500 |
commit | 14b76135d39bbb11e42a49565396b13d020dd87a (patch) | |
tree | b16f2478361a1c768b0c677b5a0c6462ac5df9d6 /tests/test_parser.py | |
parent | a6912d67648c1acdae73db7c2b772b09fb236c54 (diff) | |
download | python-coveragepy-git-14b76135d39bbb11e42a49565396b13d020dd87a.tar.gz |
xfail a test due to a PyPy3 7.3.0 change
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r-- | tests/test_parser.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py index 053e4fd8..8e7295a1 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -138,6 +138,8 @@ class PythonParserTest(CoverageTest): """) def test_decorator_pragmas(self): + if env.PYPY3 and env.PYPYVERSION >= (7, 3, 0): # pragma: obscure + self.xfail("https://bitbucket.org/pypy/pypy/issues/3139") parser = self.parse_source("""\ # 1 @@ -168,7 +170,7 @@ class PythonParserTest(CoverageTest): """) raw_statements = set([3, 4, 5, 6, 8, 9, 10, 13, 15, 16, 17, 20, 22, 23, 25, 26]) if env.PYBEHAVIOR.trace_decorated_def: - raw_statements.update([11, 19, 25]) + raw_statements.update([11, 19]) self.assertEqual(parser.raw_statements, raw_statements) self.assertEqual(parser.statements, set([8])) |