class_docstr: Test behaviors of B-splines. The values tested against were returned as of
  SciPy 1.1.0 and are included for regression testing purposes
class_docstr_tok: ["Test","behaviors","of","B-splines",".","The","values","tested","against","were","returned","as","of","SciPy","1.1.0","and","are","included","for","regression","testing","purposes"]
code: def test_cspline1d(self):
      np.random.seed(12462)
      assert_array_equal(bsp.cspline1d(array([0])), [0.0])
      c1d = array(
          [1.21037185, 1.86293902, 2.98834059, 4.11660378, 4.78893826]
      )
      # test lamda != 0
      assert_allclose(bsp.cspline1d(array([1.0, 2, 3, 4, 5]), 1), c1d)
      c1d0 = array(
          [0.78683946, 2.05333735, 2.99981113, 3.94741812, 5.21051638]
      )
      assert_allclose(bsp.cspline1d(array([1.0, 2, 3, 4, 5])), c1d0)
  
file_path: catboost/contrib/python/scipy/py3/scipy/signal/tests/test_bsplines.py
imports: import numpy
  from numpy import array
  from numpy.testing import assert_equal, assert_allclose, assert_array_equal, assert_almost_equal
  import pytest
  from pytest import raises
  import scipy.signal.bsplines
  from scipy import signal
label_desc: Use image node_id 7 for calling the TestBSplines obj's underlying member method code with example usage: obj.test_cspline1d() without return types