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/f2py/tests/__pycache__/test_regression.cpython-310.pyc
o

6��a�@stddlZddlZddlZddlmZmZmZmZddl	m
Z
dd�ZGdd�de
j�Z
Gd	d
�d
e
j�Zdd�ZdS)
�N)�assert_�
assert_raises�assert_equal�assert_string_equal�)�utilcGstjjtj�t�f|�S)N)�os�path�join�dirname�__file__)�a�r�B/usr/lib/python3/dist-packages/numpy/f2py/tests/test_regression.py�_path
src@�*eZdZeddd�gZejjdd��ZdS)�TestIntentInOut�src�
regression�	inout.f90cCsXtjdtjd�ddd�}tt|jj|�tjdtjd�}|j�|�t|gd��dS)N�)�dtype��)rrr)�np�arange�float32r�
ValueError�module�foor)�self�xrrr�
test_inouts
zTestIntentInOut.test_inoutN)	�__name__�
__module__�__qualname__r�sources�pytest�mark�slowr"rrrrrsrc@r)�TestNumpyVersionAttributerrrcCs>tt|jd�dd�tt|jjt�dd�ttj|jj�dS)N�__f2py_numpy_version__z3Fortran module does not have __f2py_numpy_version__)�msgz&__f2py_numpy_version__ is not a string)	r�hasattrr�
isinstancer+�strrr�__version__)r rrr�test_numpy_version_attribute#s��z6TestNumpyVersionAttribute.test_numpy_version_attributeN)	r#r$r%rr&r'r(r)r1rrrrr*sr*cCs.tj��}t�|�}dD]}||vsJ�qdS)N)zfortranobject.czfortranobject.h)r�f2py�get_includer�listdir)�incdir�
fnames_in_dir�fnamerrr�test_include_path2s


�r8)rr'�numpyr�
numpy.testingrrrr�rr�F2PyTestrr*r8rrrr�<module>s