def test_fit(self): print "Fitting spline to data ..." bs = BSpline() bs.fit(self.z, self.y_noizy, alpha=0.01) pass