HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/numpy/distutils/tests/__pycache__/test_from_template.cpython-310.pyc
o

6��aO�@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�J/usr/lib/python3/dist-packages/numpy/distutils/tests/test_from_template.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.distutils.from_templater�
numpy.testingrrrr
rrrrr	�<module>s