diff options
| author | Rohit Goswami <rog32@hi.is> | 2021-12-06 22:19:45 +0000 |
|---|---|---|
| committer | Rohit Goswami <rog32@hi.is> | 2021-12-06 22:20:41 +0000 |
| commit | e52472411e6596808963e1a34d7b9ef0a1f6ef41 (patch) | |
| tree | 5b796e4072532f17b61d4d873e70277366829e0c /numpy/f2py/tests/test_block_docstring.py | |
| parent | 8c588512d69574e4b6bfe0d21f1922a70ec56812 (diff) | |
| download | numpy-e52472411e6596808963e1a34d7b9ef0a1f6ef41.tar.gz | |
MAINT,TST: Reduce np.testing to IS_PYPY
Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
Diffstat (limited to 'numpy/f2py/tests/test_block_docstring.py')
| -rw-r--r-- | numpy/f2py/tests/test_block_docstring.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/f2py/tests/test_block_docstring.py b/numpy/f2py/tests/test_block_docstring.py index 27347c12d..e0eacc032 100644 --- a/numpy/f2py/tests/test_block_docstring.py +++ b/numpy/f2py/tests/test_block_docstring.py @@ -2,7 +2,7 @@ import sys import pytest from . import util -from numpy.testing import assert_equal, IS_PYPY +from numpy.testing import IS_PYPY class TestBlockDocString(util.F2PyTest): @@ -14,4 +14,4 @@ class TestBlockDocString(util.F2PyTest): reason="PyPy cannot modify tp_doc after PyType_Ready") def test_block_docstring(self): expected = "bar : 'i'-array(2,3)\n" - assert_equal(self.module.block.__doc__, expected) + assert self.module.block.__doc__ == expected |
