| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/numpy/f2py/tests/__pycache__/ |
Upload File : |
�
�g� � �0 � d dl mZ d dlmZ dZdZd� Zd� Zy)� )�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 �@ � dj | j � � S )zu
Remove leading and trailing whitespace, and convert internal
stretches of whitespace to a single space.
� )�join�split)�ss �?C:\Python312\Lib\site-packages\numpy/f2py/tests/test_pyf_src.py�normalize_whitespacer s � �
�8�8�A�G�G�I��� c �n � t t � } t | � }t t � }t ||� y)zRegression test for gh-10712.N)r �pyf_srcr �expected_pyfr )�pyf�normalized_pyf�normalized_expected_pyfs r
�test_from_templater '