diff options
Diffstat (limited to 'numpy/core')
-rw-r--r-- | numpy/core/tests/test_scalarmath.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/tests/test_scalarmath.py b/numpy/core/tests/test_scalarmath.py index 56a7c1567..527106973 100644 --- a/numpy/core/tests/test_scalarmath.py +++ b/numpy/core/tests/test_scalarmath.py @@ -950,6 +950,9 @@ ops_with_names = [ @pytest.mark.parametrize(["__op__", "__rop__", "op", "cmp"], ops_with_names) @pytest.mark.parametrize("sctype", [np.float32, np.float64, np.longdouble]) +@pytest.mark.xfail(IS_PYPY, + reason="PyPy does not replace `tp_richcompare` for subclasses so" + "our we do not realize when deferring should be preferred.") def test_subclass_deferral(sctype, __op__, __rop__, op, cmp): """ This test covers scalar subclass deferral. Note that this is exceedingly |