σ
ίΘ[c           @` s|  d  d l  m Z m Z m Z d  d l Z d  d l Z d d l m Z d d l	 m
 Z
 i d e d f 6d	 e d
 f 6d e d f 6d e d
 f 6Z e j d  j e e j d f d f e j d  j e e j d
 f d f d e e j d f d f d e e j d
 f d f e j d f e j d f e j d f e d f e d f d d d  d! f Z e j j d e  d    Z d S("   i    (   t   absolute_importt   divisiont   print_functionNi   (   t   sixi   (   t   dtype_info_namet   strt   St   unicodet   Ut   bytest   abcdt   4u   abcdt   S4t   U4t   voidt   int32t   boolt   float64s   <f4t   float32t   u8t   uint64t   c16t
   complex128t   objects   input,outputc         C` s   t  |   | k s t  d S(   sH  
    Test that dtype_info_name is giving the expected output

    Here the available types::

      'b' boolean
      'i' (signed) integer
      'u' unsigned integer
      'f' floating-point
      'c' complex-floating point
      'O' (Python) objects
      'S', 'a' (byte-)string
      'U' Unicode
      'V' raw data (void)
    N(   R   t   AssertionError(   t   inputt   output(    (    sA   lib/python2.7/site-packages/astropy/utils/tests/test_data_info.pyt   test_dtype_info_name"   s    (   s   <f4R   (   R   R   (   R   R   (   R   R   (   t
   __future__R    R   R   t   pytestt   numpyt   npt   externR   t	   data_infoR   t   Falset   Truet   STRING_TYPE_NAMESt   arrayt   dtypet   PY2R   R   R   t   floatt   DTYPE_TESTSt   markt   parametrizeR   (    (    (    sA   lib/python2.7/site-packages/astropy/utils/tests/test_data_info.pyt   <module>   s,   ''			