ó
ØÆ÷Xc           @` sž   d  d l  m Z m Z m Z d  d l Z d  d l Z d  d l m Z m Z m	 Z	 m
 Z
 d  d l Z d „  Z d e j f d „  ƒ  YZ e d k rš e ƒ  n  d S(   i    (   t   divisiont   absolute_importt   print_functionN(   t   run_module_suitet   assert_t   assert_equalt   decc          G` s#   t  j j t  j j t ƒ f |  Œ  S(   N(   t   ost   patht   joint   dirnamet   __file__(   t   a(    (    s:   /tmp/pip-build-X4mzal/numpy/numpy/f2py/tests/test_mixed.pyt   _path
   s    t	   TestMixedc           B` s_   e  Z e d  d d ƒ e d  d d ƒ e d  d d ƒ g Z e j d „  ƒ Z e j d „  ƒ Z RS(   t   srct   mixeds   foo.fs   foo_fixed.f90s   foo_free.f90c         C` sU   t  |  j j ƒ  d k ƒ t  |  j j j ƒ  d k ƒ t  |  j j j ƒ  d k ƒ d  S(   Ni   i   i   (   R   t   modulet   bar11t	   foo_fixedt   bar12t   foo_freet   bar13(   t   self(    (    s:   /tmp/pip-build-X4mzal/numpy/numpy/f2py/tests/test_mixed.pyt   test_all   s    c         C` s/   d } t  |  j j j t j | ƒ j ƒ  ƒ d  S(   Nsn   
        a = bar11()

        Wrapper for ``bar11``.

        Returns
        -------
        a : int
        (   R   R   R   t   __doc__t   textwrapt   dedentt   lstrip(   R   t   expected(    (    s:   /tmp/pip-build-X4mzal/numpy/numpy/f2py/tests/test_mixed.pyt   test_docstring   s    
(   t   __name__t
   __module__R   t   sourcesR   t   slowR   R   (    (    (    s:   /tmp/pip-build-X4mzal/numpy/numpy/f2py/tests/test_mixed.pyR      s
   t   __main__(   t
   __future__R    R   R   R   R   t   numpy.testingR   R   R   R   t   utilR   t   F2PyTestR   R   (    (    (    s:   /tmp/pip-build-X4mzal/numpy/numpy/f2py/tests/test_mixed.pyt   <module>   s   "	