summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorTyler Reddy <tyler.je.reddy@gmail.com>2019-04-22 10:02:38 -0700
committerGitHub <noreply@github.com>2019-04-22 10:02:38 -0700
commit2b59dcb273f00e7be13cdc32c5f396a55781c2f4 (patch)
tree6cba210849f975707bd0d6d5313294297765483b /numpy/lib/tests/test_function_base.py
parent365e8b319c3756afe80d1b41de1a812f76be872c (diff)
parentf402a691a9c99e0ba2e090d4f8269ea81aac1a50 (diff)
downloadnumpy-2b59dcb273f00e7be13cdc32c5f396a55781c2f4.tar.gz
Merge pull request #12594 from mattip/pypy3-testing
DEV, BUILD: add pypy3 to azure CI
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r--numpy/lib/tests/test_function_base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py
index 1e04bfaec..e2c24a123 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -11,7 +11,7 @@ import numpy as np
from numpy import ma
from numpy.testing import (
assert_, assert_equal, assert_array_equal, assert_almost_equal,
- assert_array_almost_equal, assert_raises, assert_allclose,
+ assert_array_almost_equal, assert_raises, assert_allclose, IS_PYPY,
assert_warns, assert_raises_regex, suppress_warnings, HAS_REFCOUNT,
)
import numpy.lib.function_base as nfb
@@ -3177,6 +3177,7 @@ class TestAdd_newdoc_ufunc(object):
class TestAdd_newdoc(object):
@pytest.mark.skipif(sys.flags.optimize == 2, reason="Python running -OO")
+ @pytest.mark.xfail(IS_PYPY, reason="PyPy does not modify tp_doc")
def test_add_doc(self):
# test np.add_newdoc
tgt = "Current flat index into the array."