ó
ú$]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 Z d d l	 m
 Z
 d  d l m Z d „  Z d e
 j f d „  ƒ  YZ d S(	   i    (   t   divisiont   absolute_importt   print_functionNi   (   t   util(   t   assert_array_equalc          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_common.pyt   _path   s    t   TestCommonBlockc           B` sG   e  Z e d  d d ƒ g Z e j j e j d k d d ƒd „  ƒ Z	 RS(   t   srct   commons   block.ft   win32t   reasons)   Fails with MinGW64 Gfortran (Issue #9673)c         C` s†   |  j  j ƒ  t |  j  j j t j d d t j ƒƒ t |  j  j j t j d d d ƒƒ t |  j  j j	 t j d d t j
 ƒƒ d  S(   Ng      ð?t   dtypet   2s   |S1i   (   t   modulet   initcbR   t   blockt   long_bnt   npt   arrayt   float64t	   string_bnt   okt   int32(   t   self(    (    s;   lib/python2.7/site-packages/numpy/f2py/tests/test_common.pyt   test_common_block   s    (
   t   __name__t
   __module__R   t   sourcest   pytestt   markt   skipift   syst   platformR   (    (    (    s;   lib/python2.7/site-packages/numpy/f2py/tests/test_common.pyR      s   (   t
   __future__R    R   R   R   R%   R"   t   numpyR   t    R   t   numpy.testingR   R   t   F2PyTestR   (    (    (    s;   lib/python2.7/site-packages/numpy/f2py/tests/test_common.pyt   <module>   s   	