403Webshell
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 :  /lib/python3/dist-packages/numpy/f2py/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/numpy/f2py/tests/__pycache__/test_regression.cpython-311.pyc
�

���cm���ddlZddlZddlZddlmZGd�dej��ZGd�dej��ZGd�d	ej��Z	d
�Z
dS)�N�)�utilc�`�eZdZejdddd��gZejjd���Z	dS)�TestIntentInOut�tests�src�
regression�	inout.f90c�H�tjdtj���ddd�}tjt
|jj|��tjdtj���}|j�|��tj|gd���sJ�dS)N���dtype��)rrr)	�np�arange�float32�pytest�raises�
ValueError�module�foo�allclose)�self�xs  �B/usr/lib/python3/dist-packages/numpy/f2py/tests/test_regression.py�
test_inoutzTestIntentInOut.test_inout
s���
�I�a�r�z�*�*�*�3�3�Q�3�/���
�j�$�+�/�1�5�5�5�
�I�a�r�z�*�*�*�����������{�1�i�i�i�(�(�(�(�(�(�(�N)
�__name__�
__module__�__qualname__r�getpath�sourcesr�mark�slowr�rrrr	sM�������t�|�G�U�L�+�F�F�G�G��[��)�)���)�)�)rrc�`�eZdZejdddd��gZejjd���Z	dS)�TestNegativeBoundsrr�negative_boundszissue_20853.f90c
��tjd��}d}d}d�}|j�|||d|||������}tjdtj���}tj||��sJ�dS)N�i�����c��||z
dzS)Nrr&)�xl�xhs  r�uboundz0TestNegativeBounds.test_negbound.<locals>.ubound$s����7�Q�;�r)�is_�ie_�arr�r
)rrrrrr)r�xvec�xlow�xhighr0�rval�expvals       r�
test_negboundz TestNegativeBounds.test_negbounds����y��}�}������	�	�	��{���4�U� �!5�&�&��u�"5�"5�!5�6��8�8����2�r�z�2�2�2���{�4��(�(�(�(�(�(�(rN)
rr r!rr"r#rr$r%r:r&rrr(r(sO�������t�|�G�U�,=�?P�Q�Q�R�G��[��)�)���)�)�)rr(c�`�eZdZejdddd��gZejjd���Z	dS)�TestNumpyVersionAttributerrr	r
c��t|jd��sJ�t|jjt��sJ�t
j|jjksJ�dS)N�__f2py_numpy_version__)�hasattrr�
isinstancer>�strr�__version__)rs r�test_numpy_version_attributez6TestNumpyVersionAttribute.test_numpy_version_attribute1sZ���t�{�$<�=�=�=�=�=��$�+�<�c�B�B�B�B�B��~���!C�C�C�C�C�C�CrN)
rr r!rr"r#rr$r%rCr&rrr<r<,sT�������t�|�G�U�L�+�F�F�G�G��[��	D�	D���	D�	D�	Drr<c��tj���}tj|��}dD]}||vsJ��	dS)N)zfortranobject.czfortranobject.h)r�f2py�get_include�os�listdir)�incdir�
fnames_in_dir�fnames   r�test_include_pathrL>sQ��
�W�
 �
 �
"�
"�F��J�v�&�&�M�7�&�&���
�%�%�%�%�%�&�&r)rGr�numpyr�r�F2PyTestrr(r<rLr&rr�<module>rPs���	�	�	�	�
�
�
�
�����������
)�
)�
)�
)�
)�d�m�
)�
)�
)� )�)�)�)�)���)�)�)�&D�D�D�D�D��
�D�D�D�$&�&�&�&�&r

Youez - 2016 - github.com/yon3zu
LinuXploit