/opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/f2py/tests
NameSizeModeActions
src/-0755rm
__pycache__/-0755rm
test_abstract_interface.py8320644editdlrm
test_array_from_pyobj.py240490644editdlrm
test_assumed_shape.py14660644editdlrm
test_block_docstring.py5640644editdlrm
test_callback.py61520644editdlrm
test_character.py204680644editdlrm
test_common.py5840644editdlrm
test_compile_function.py41860644editdlrm
test_crackfortran.py106500644editdlrm
test_docs.py16620644editdlrm
test_f2cmap.py3910644editdlrm
test_f2py2e.py208480644editdlrm
test_kind.py8470644editdlrm
test_mixed.py8480644editdlrm
test_module_doc.py8630644editdlrm
test_parameter.py39410644editdlrm
test_quoted_character.py4540644editdlrm
test_regression.py21570644editdlrm
test_return_character.py14930644editdlrm
test_return_complex.py23970644editdlrm
test_return_integer.py18500644editdlrm
test_return_logical.py20170644editdlrm
test_return_real.py33530644editdlrm
test_semicolon_split.py16350644editdlrm
test_size.py11640644editdlrm
test_string.py29620644editdlrm
test_symbolic.py183410644editdlrm
test_value_attrspec.py3230644editdlrm
util.py104450644editdlrm
__init__.py00644editdlrm
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/f2py/tests/test_mixed.py (848B)
import os import textwrap import pytest from numpy.testing import IS_PYPY from . import util class TestMixed(util.F2PyTest): sources = [ util.getpath("tests", "src", "mixed", "foo.f"), util.getpath("tests", "src", "mixed", "foo_fixed.f90"), util.getpath("tests", "src", "mixed", "foo_free.f90"), ] def test_all(self): assert self.module.bar11() == 11 assert self.module.foo_fixed.bar12() == 12 assert self.module.foo_free.bar13() == 13 @pytest.mark.xfail(IS_PYPY, reason="PyPy cannot modify tp_doc after PyType_Ready") def test_docstring(self): expected = textwrap.dedent("""\ a = bar11() Wrapper for ``bar11``. Returns ------- a : int """) assert self.module.bar11.__doc__ == expected