ENH: interpolate: add the feature of constant extrapolation to 1d spline.
TST: interpolate: tweak the extrap modes tests