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_parameter.cpython-310.pyc
o

6��aF�@sRddlZddlZddlZddlmZmZddlmZdd�Z	Gdd�dej
�ZdS)	�N)�
assert_raises�assert_equal�)�utilcGstjjtj�t�f|�S)N)�os�path�join�dirname�__file__)�a�r�A/usr/lib/python3/dist-packages/numpy/f2py/tests/test_parameter.py�_path
src@s�eZdZeddd�eddd�eddd�eddd�eddd�gZejjdd	��Zejjd
d��Z	ejjdd
��Z
ejjdd��Zejjdd��Zejjdd��Z
ejjdd��Zejjdd��Zejjdd��ZdS)�TestParameters�src�	parameterzconstant_real.f90zconstant_integer.f90zconstant_both.f90zconstant_compound.f90zconstant_non_compound.f90cC�Xtjdtjd�ddd�}tt|jj|�tjdtjd�}|j�|�t|gd��dS�N���dtype��)�rr)�np�arange�float32r�
ValueError�module�
foo_singler��self�xrrr
�test_constant_real_single�
z(TestParameters.test_constant_real_singlecCrr)rr�float64rrr�
foo_doublerr rrr
�test_constant_real_double"r$z(TestParameters.test_constant_real_doublecCr)Nrrrr)�
rr)rr�int32rrr�foo_compound_intrr rrr
�test_constant_compound_int-r$z)TestParameters.test_constant_compound_intcCs.tjdtjd�}|j�|�t|gd��dS)N�r)�rrr)rrr)r�foo_non_compound_intrr rrr
�test_constant_non_compound_int8sz-TestParameters.test_constant_non_compound_intcCrr)rrr)rrr�foo_intrr rrr
�test_constant_integer_int?r$z(TestParameters.test_constant_integer_intcCrr)rr�int64rrr�foo_longrr rrr
�test_constant_integer_longJr$z)TestParameters.test_constant_integer_longcCr�Nrrrr)�rr)rrr%rrr�foorr rrr
�test_constant_bothUr$z!TestParameters.test_constant_bothcCrr5)rrr%rrr�foo_norr rrr
�test_constant_no`r$zTestParameters.test_constant_nocCrr5)rrr%rrr�foo_sumrr rrr
�test_constant_sumkr$z TestParameters.test_constant_sumN)�__name__�
__module__�__qualname__r�sources�pytest�mark�slowr#r'r+r/r1r4r8r:r<rrrr
rs2




�














r)rrA�numpyr�
numpy.testingrr�rr�F2PyTestrrrrr
�<module>s

https://t.me/RX1948 - 2025