| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/numpy/f2py/tests/ |
Upload File : |
import pytest
from . import util
@pytest.mark.slow
class TestRenamedFunc(util.F2PyTest):
sources = [
util.getpath("tests", "src", "routines", "funcfortranname.f"),
util.getpath("tests", "src", "routines", "funcfortranname.pyf"),
]
module_name = "funcfortranname"
def test_gh25799(self):
assert dir(self.module)
assert self.module.funcfortranname_default(200, 12) == 212
@pytest.mark.slow
class TestRenamedSubroutine(util.F2PyTest):
sources = [
util.getpath("tests", "src", "routines", "subrout.f"),
util.getpath("tests", "src", "routines", "subrout.pyf"),
]
module_name = "subrout"
def test_renamed_subroutine(self):
assert dir(self.module)
assert self.module.subrout_default(200, 12) == 212