ó
Ú6e]c           @` sŒ   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 „  Z d e j f d „  ƒ  YZ d S(	   i    (   t   divisiont   absolute_importt   print_functionN(   t   assert_raisest   assert_equali   (   t   utilc          G` s#   t  j j t  j j t ƒ f |  Œ  S(   N(   t   ost   patht   joint   dirnamet   __file__(   t   a(    (    s?   lib/python2.7/site-packages/numpy/f2py/tests/test_regression.pyt   _path   s    t   TestIntentInOutc           B` s2   e  Z e d  d d ƒ g Z e j j d „  ƒ Z RS(   t   srct
   regressions	   inout.f90c         C` s}   t  j d d t  j ƒd  d  d … } t t |  j j | ƒ t  j d d t  j ƒ} |  j j | ƒ t | d d d g ƒ d  S(   Ni   t   dtypei   i   i   (   t   npt   aranget   float32R   t
   ValueErrort   modulet   fooR   (   t   selft   x(    (    s?   lib/python2.7/site-packages/numpy/f2py/tests/test_regression.pyt
   test_inout   s
    %(   t   __name__t
   __module__R   t   sourcest   pytestt   markt   slowR   (    (    (    s?   lib/python2.7/site-packages/numpy/f2py/tests/test_regression.pyR      s   (   t
   __future__R    R   R   R   R   t   numpyR   t   numpy.testingR   R   t    R   R   t   F2PyTestR   (    (    (    s?   lib/python2.7/site-packages/numpy/f2py/tests/test_regression.pyt   <module>   s   	