Your IP : 216.73.216.74


Current Path : /usr/local/python-3.13/lib/python3.13/site-packages/numpy/f2py/tests/
Upload File :
Current File : //usr/local/python-3.13/lib/python3.13/site-packages/numpy/f2py/tests/test_value_attrspec.py

import pytest

from . import util


class TestValueAttr(util.F2PyTest):
    sources = [util.getpath("tests", "src", "value_attrspec", "gh21665.f90")]

    # gh-21665
    @pytest.mark.slow
    def test_gh21665(self):
        inp = 2
        out = self.module.fortfuncs.square(inp)
        exp_out = 4
        assert out == exp_out