summaryrefslogtreecommitdiff
path: root/numpy/core/tests
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-03-18 23:53:09 +0200
committerGitHub <noreply@github.com>2020-03-18 23:53:09 +0200
commit965b41d418e6100c1afae0b6f818a7ef152bc25d (patch)
tree0e31074466dd881a08c4a26de424362e035d9a53 /numpy/core/tests
parentc2dd245047ff2eb80972600163ecac9048d74e1f (diff)
downloadnumpy-965b41d418e6100c1afae0b6f818a7ef152bc25d.tar.gz
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
Diffstat (limited to 'numpy/core/tests')
-rw-r--r--numpy/core/tests/test_numerictypes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/tests/test_numerictypes.py b/numpy/core/tests/test_numerictypes.py
index c72d13947..dc3a821b9 100644
--- a/numpy/core/tests/test_numerictypes.py
+++ b/numpy/core/tests/test_numerictypes.py
@@ -486,7 +486,8 @@ def test_issctype(rep, expected):
@pytest.mark.skipif(sys.flags.optimize > 1,
reason="no docstrings present to inspect when PYTHONOPTIMIZE/Py_OptimizeFlag > 1")
-@pytest.mark.xfail(IS_PYPY, reason="PyPy does not modify tp_doc")
+@pytest.mark.xfail(IS_PYPY,
+ reason="PyPy cannot modify tp_doc after PyType_Ready")
class TestDocStrings:
def test_platform_dependent_aliases(self):
if np.int64 is np.int_: