File: //usr/local/lib/python3.10/dist-packages/numpy/f2py/tests/__pycache__/test_docs.cpython-310.pyc
o
���g~ � @ s� d dl Z d dlZd dlZd dlmZmZ ddlmZ dd� Z ej
je j�
e � � de � � d�d �Zd
d� ZG dd
� d
ej�ZdS )� N)�assert_array_equal�assert_equal� )�utilc C s* t j�t j�t j�t�ddddddd��S )Nz..�doc�source�f2py�code)�os�path�abspath�join�dirname�__file__� r r �E/usr/local/lib/python3.10/dist-packages/numpy/f2py/tests/test_docs.py�
get_docdir s
�r z+Could not find f2py documentation sources (z does not exists))�reasonc G s t jjt� f| � S )N)r
r r
r )�ar r r �_path s r c @ s: e Zd Zed�ed�ed�gZdd� Zdd� Zdd � Zd
S )�TestDocAdvancedz
asterisk1.f90z
asterisk2.f90zftype.fc C s t | jd�}t|� d� d S )N�foo1� 123456789A12��getattr�moduler ��self�foor r r �test_asterisk1 s zTestDocAdvanced.test_asterisk1c C s: t | jd�}t|d�d� t|d�d� t|d�d� d S )N�foo2� s 12� r � s 123456789A123456789Br r r r r �test_asterisk2$ s zTestDocAdvanced.test_asterisk2c C s� | j }|�� t|jjd� d|j_g d�|j_t|jjd� t|jjtjg d�tj d�� d|jjd<