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_bspline(self):
      np.random.seed(12458)
      assert_allclose(
          bsp.bspline(np.random.rand(1, 1), 2), array([[0.73694695]])
      )
      data_array_complex = (
          np.random.rand(4, 4) + np.random.rand(4, 4) * 1j
      )
      data_array_complex = 0.1 * data_array_complex
      result_array_complex = array(
          [
              [0.40882362, 0.41021151, 0.40886708, 0.40905103],
              [0.40829477, 0.41021230, 0.40966097, 0.40939871],
              [0.41036803, 0.40901724, 0.40965331, 0.40879513],
              [0.41032862, 0.40925287, 0.41037754, 0.41027477],
          ]
      )
      assert_allclose(
          bsp.bspline(data_array_complex, 10), result_array_complex
      )
  
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 2 for calling the TestBSplines obj's underlying member method code with example usage: obj.test_bspline() without return types