From 965b41d418e6100c1afae0b6f818a7ef152bc25d Mon Sep 17 00:00:00 2001 From: Matti Picus Date: Wed, 18 Mar 2020 23:53:09 +0200 Subject: BUG, TST: fix f2py for PyPy, skip one test for PyPy (#15750) * BUG, TST: fix f2py for PyPy, skip one test for PyPy, xfail tests for s390x --- numpy/f2py/tests/test_mixed.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'numpy/f2py/tests/test_mixed.py') diff --git a/numpy/f2py/tests/test_mixed.py b/numpy/f2py/tests/test_mixed.py index fc00ccc43..04266ca5b 100644 --- a/numpy/f2py/tests/test_mixed.py +++ b/numpy/f2py/tests/test_mixed.py @@ -2,7 +2,7 @@ import os import textwrap import pytest -from numpy.testing import assert_, assert_equal +from numpy.testing import assert_, assert_equal, IS_PYPY from . import util @@ -15,13 +15,13 @@ class TestMixed(util.F2PyTest): _path('src', 'mixed', 'foo_fixed.f90'), _path('src', 'mixed', 'foo_free.f90')] - @pytest.mark.slow def test_all(self): assert_(self.module.bar11() == 11) assert_(self.module.foo_fixed.bar12() == 12) assert_(self.module.foo_free.bar13() == 13) - @pytest.mark.slow + @pytest.mark.xfail(IS_PYPY, + reason="PyPy cannot modify tp_doc after PyType_Ready") def test_docstring(self): expected = textwrap.dedent("""\ a = bar11() -- cgit v1.2.1