ó
Ë½÷Xc           @` sg   d  d l  m Z m Z m Z d  d l Z d  d l j Z d  d l	 m
 Z
 m Z d e f d „  ƒ  YZ d S(   i    (   t   divisiont   print_functiont   absolute_importN(   t   assert_almost_equalt   TestCaset   TestRegressionc           B` s   e  Z d  „  Z RS(   c         C` s„   t  j d d ƒ } | d } t j | | d d d d g ƒ} t j t  j d ƒ | ƒ } t  j d d	 d
 d
 g ƒ } t | | ƒ d S(   s   Ticket #629i    i
   i   t   kt   ti   i   g      ð?g      @g      @N(   t   npt   linspacet   interpt   splrept   spaldet   float64t   arrayR   (   t   selft   xt   yt   tckt   rest   des(    (    sF   /tmp/pip-build-7oUkmx/scipy/scipy/interpolate/tests/test_regression.pyt   test_spalde_scalar_input	   s    
!(   t   __name__t
   __module__R   (    (    (    sF   /tmp/pip-build-7oUkmx/scipy/scipy/interpolate/tests/test_regression.pyR      s   (   t
   __future__R    R   R   t   numpyR   t   scipy.interpolatet   interpolateR
   t   numpy.testingR   R   R   (    (    (    sF   /tmp/pip-build-7oUkmx/scipy/scipy/interpolate/tests/test_regression.pyt   <module>   s   