summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/test_abstract_interface.py
diff options
context:
space:
mode:
authorRohit Goswami <rog32@hi.is>2021-12-06 22:19:45 +0000
committerRohit Goswami <rog32@hi.is>2021-12-06 22:20:41 +0000
commite52472411e6596808963e1a34d7b9ef0a1f6ef41 (patch)
tree5b796e4072532f17b61d4d873e70277366829e0c /numpy/f2py/tests/test_abstract_interface.py
parent8c588512d69574e4b6bfe0d21f1922a70ec56812 (diff)
downloadnumpy-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_abstract_interface.py')
-rw-r--r--numpy/f2py/tests/test_abstract_interface.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/numpy/f2py/tests/test_abstract_interface.py b/numpy/f2py/tests/test_abstract_interface.py
index 88fd8854f..29e4b0647 100644
--- a/numpy/f2py/tests/test_abstract_interface.py
+++ b/numpy/f2py/tests/test_abstract_interface.py
@@ -3,8 +3,6 @@ import textwrap
from . import util
from numpy.f2py import crackfortran
-from numpy.testing import assert_
-
class TestAbstractInterface(util.F2PyTest):
sources = [util.getpath("tests", "src", "abstract_interface", "foo.f90")]
@@ -12,7 +10,7 @@ class TestAbstractInterface(util.F2PyTest):
skip = ["add1", "add2"]
def test_abstract_interface(self):
- assert_(self.module.ops_module.foo(3, 5) == (8, 13))
+ assert self.module.ops_module.foo(3, 5) == (8, 13)
def test_parse_abstract_interface(self):
# Test gh18403