3
­?d]ü  ã               @   sf   d dl mZmZmZ d dlZd dlZd dlZd dlm	Z	m
Z
 ddlmZ dd„ ZG dd	„ d	ejƒZdS )
é    )ÚdivisionÚabsolute_importÚprint_functionN)Úassert_raisesÚassert_equalé   )Úutilc              G   s   t jjt jjtƒf|  Ž S )N)ÚosÚpathÚjoinÚdirnameÚ__file__)Úa© r   úA/tmp/pip-build-op5p2y5_/numpy/numpy/f2py/tests/test_regression.pyÚ_path   s    r   c               @   s*   e Zd ZedddƒgZejjdd„ ƒZdS )ÚTestIntentInOutÚsrcZ
regressionz	inout.f90c             C   sZ   t jdt jd�d d d… }tt| jj|ƒ t jdt jd�}| jj|ƒ t|dddgƒ d S )Né   )Zdtypeé   é   r   )ÚnpZarangeZfloat32r   Ú
ValueErrorÚmoduleZfoor   )ÚselfÚxr   r   r   Ú
test_inout   s
    zTestIntentInOut.test_inoutN)	Ú__name__Ú
__module__Ú__qualname__r   ÚsourcesÚpytestÚmarkZslowr   r   r   r   r   r      s   r   )Ú
__future__r   r   r   r	   r!   Znumpyr   Znumpy.testingr   r   Ú r   r   ZF2PyTestr   r   r   r   r   Ú<module>   s   