diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-03-11 05:40:55 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-03-11 06:38:43 -0500 |
commit | 29310f4bb634a8fccb5ff0453ae6686bbebcca17 (patch) | |
tree | 1bb4c92d3ee2c6e92bc3b17bd9f67cb1011da195 /tests/test_parser.py | |
parent | 8aef73cc99dd9dd85217b101039a61b4a879698c (diff) | |
download | python-coveragepy-git-29310f4bb634a8fccb5ff0453ae6686bbebcca17.tar.gz |
refactor: no need for our own xfail wrapper
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r-- | tests/test_parser.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py index 6edb6d1a..f49c9900 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -11,7 +11,7 @@ from coverage import env from coverage.misc import NotPython from coverage.parser import PythonParser -from tests.coveragetest import CoverageTest, xfail +from tests.coveragetest import CoverageTest from tests.helpers import arcz_to_arcs @@ -139,10 +139,9 @@ class PythonParserTest(CoverageTest): ''' """) - - @xfail( + @pytest.mark.xfail( env.PYPY3 and env.PYPYVERSION == (7, 3, 0), - "https://bitbucket.org/pypy/pypy/issues/3139", + reason="https://bitbucket.org/pypy/pypy/issues/3139", ) def test_decorator_pragmas(self): parser = self.parse_source("""\ |