Download venv/lib/python3.13/site-packages/numpy/f2py/tests/test_routines.py from dheeena/MRI: direct link, hf CLI and curl.
- Browser
- Download file 795 Bytes
-
https://huggingface.co/dheeena/MRI/resolve/main/venv/lib/python3.13/site-packages/numpy/f2py/tests/test_routines.py
- Command line
-
hf download hf://dheeena/MRI/venv/lib/python3.13/site-packages/numpy/f2py/tests/test_routines.py
-
curl -L -o test_routines.py https://huggingface.co/dheeena/MRI/resolve/main/venv/lib/python3.13/site-packages/numpy/f2py/tests/test_routines.py
795 Bytes
| import pytest | |
| from . import util | |
| 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 | |
| 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 | |