a
    LªfO  ã                   @   s4   d dl mZ d dlmZ dZdZdd„ Zdd„ Zd	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
c                 C   s   d  |  ¡ ¡S )zu
    Remove leading and trailing whitespace, and convert internal
    stretches of whitespace to a single space.
    ú )ÚjoinÚsplit)Ús© r   úa/var/www/ai-form-bot/venv/lib/python3.9/site-packages/numpy/distutils/tests/test_from_template.pyÚnormalize_whitespace   s    r
   c                  C   s&   t tƒ} t| ƒ}ttƒ}t||ƒ dS )zRegression test for gh-10712.N)r   Úpyf_srcr
   Úexpected_pyfr   )ZpyfZnormalized_pyfZnormalized_expected_pyfr   r   r	   Útest_from_template'   s    r   N)Znumpy.distutils.from_templater   Znumpy.testingr   r   r   r
   r   r   r   r   r	   Ú<module>   s
   