HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/numpy/f2py/tests/__pycache__/test_docs.cpython-310.pyc
o

���g~�@s�ddlZddlZddlZddlmZmZddlmZdd�Z	ej
jej�
e	��de	��d�d	�Zd
d�ZGdd
�d
ej�ZdS)�N)�assert_array_equal�assert_equal�)�utilcCs*tj�tj�tj�t�ddddddd��S)Nz..�doc�source�f2py�code)�os�path�abspath�join�dirname�__file__�rr�E/usr/local/lib/python3.10/dist-packages/numpy/f2py/tests/test_docs.py�
get_docdirs

�rz+Could not find f2py documentation sources (z does not exists))�reasoncGstjjt�f|�S)N)r
rr
r)�arrr�_pathsrc@s:eZdZed�ed�ed�gZdd�Zdd�Zdd	�Zd
S)�TestDocAdvancedz
asterisk1.f90z
asterisk2.f90zftype.fcCst|jd�}t|�d�dS)N�foo1�123456789A12��getattr�moduler��self�foorrr�test_asterisk1 szTestDocAdvanced.test_asterisk1cCs:t|jd�}t|d�d�t|d�d�t|d�d�dS)N�foo2�s12�r�s123456789A123456789Brrrrr�test_asterisk2$szTestDocAdvanced.test_asterisk2cCs�|j}|��t|jjd�d|j_gd�|j_t|jjd�t|jjtjgd�tj	d��d|jjd<t|jjtjgd�tj	d��dS)Nr�)rr!r%)�dtype�-r)rr'r%)
rrr�datar�xr�np�array�float32)r�ftyperrr�
test_ftype*s��zTestDocAdvanced.test_ftypeN)�__name__�
__module__�__qualname__r�sourcesrr$r.rrrrrs�r)r
�pytest�numpyr*�
numpy.testingrr�rr�mark�skipifr�isdir�
pytestmarkr�F2PyTestrrrrr�<module>s	��