HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/numpy/f2py/tests/__pycache__/test_pyf_src.cpython-310.pyc
o

���go�@s4ddlmZddlmZdZdZdd�Zdd�Zd	S)
�)�process_str)�assert_equalz�
python module foo
    <_rd=real,double precision>
    interface
        subroutine <s,d>foosub(tol)
            <_rd>, intent(in,out) :: tol
        end subroutine <s,d>foosub
    end interface
end python module foo
a#
python module foo
    interface
        subroutine sfoosub(tol)
            real, intent(in,out) :: tol
        end subroutine sfoosub
        subroutine dfoosub(tol)
            double precision, intent(in,out) :: tol
        end subroutine dfoosub
    end interface
end python module foo
cCsd�|���S)zu
    Remove leading and trailing whitespace, and convert internal
    stretches of whitespace to a single space.
    � )�join�split)�s�r�H/usr/local/lib/python3.10/dist-packages/numpy/f2py/tests/test_pyf_src.py�normalize_whitespacesr
cCs&tt�}t|�}tt�}t||�dS)zRegression test for gh-10712.N)r�pyf_srcr
�expected_pyfr)�pyf�normalized_pyf�normalized_expected_pyfrrr	�test_from_template'srN)�numpy.f2py._src_pyfr�
numpy.testingrrrr
rrrrr	�<module>s