ó
ÿ¼÷Xc           @` sg   d  Z  d d l m Z m Z m Z d d l Z d d l m Z m	 Z	 d „  Z
 e d k rc e	 ƒ  n  d S(   s'   Test deprecation and future warnings.

i    (   t   divisiont   absolute_importt   print_functionN(   t   assert_warnst   run_module_suitec          C` sƒ   t  j d ƒ }  t t t  j j |  d d ƒt t t  j j |  d d ƒt t t  j j |  d d ƒt t t  j j |  d d ƒd S(   sÇ   Check mode='full' FutureWarning.

    In numpy 1.8 the mode options 'full' and 'economic' in linalg.qr were
    deprecated. The release date will probably be sometime in the summer
    of 2013.

    i   t   modet   fullt   ft   economict   eN(   t   npt   eyeR   t   DeprecationWarningt   linalgt   qr(   t   a(    (    sC   /tmp/pip-build-2Vcwy8/numpy/numpy/linalg/tests/test_deprecations.pyt    test_qr_mode_full_future_warning
   s
    t   __main__(   t   __doc__t
   __future__R    R   R   t   numpyR
   t   numpy.testingR   R   R   t   __name__(    (    (    sC   /tmp/pip-build-2Vcwy8/numpy/numpy/linalg/tests/test_deprecations.pyt   <module>   s   	