https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/numpy/f2py/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current 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

https://t.me/RX1948 - 2025