| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/numpy/distutils/tests/__pycache__/ |
Upload File : |
�
���cO � �2 � d dl mZ d dlmZ dZdZd� Zd� ZdS )� )�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 �P � d� | � � � � � S )zu
Remove leading and trailing whitespace, and convert internal
stretches of whitespace to a single space.
� )�join�split)�ss �J/usr/lib/python3/dist-packages/numpy/distutils/tests/test_from_template.py�normalize_whitespacer s � �
�8�8�A�G�G�I�I���� c � � t t � � } t | � � }t t � � }t ||� � dS )zRegression test for gh-10712.N)r �pyf_srcr �expected_pyfr )�pyf�normalized_pyf�normalized_expected_pyfs r
�test_from_templater '