class_docstr: Test behaviors of bsplines. 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","bsplines",".","The","values","tested","against","were","returned","as","of","scipy","1.1.0","and","are","included","for","regression","testing","purposes"]
code: def test_qspline1d(self):
      np.random.seed(12463)
      assert_array_equal(bsp.qspline1d(array([0])), [0.0])
      # test lamda != 0
      raises(ValueError, bsp.qspline1d, array([1.0, 2, 3, 4, 5]), 1.0)
      raises(ValueError, bsp.qspline1d, array([1.0, 2, 3, 4, 5]), -1.0)
      q1d0 = array(
          [0.85350007, 2.02441743, 2.99999534, 3.97561055, 5.14634135]
      )
      assert_allclose(bsp.qspline1d(array([1.0, 2, 3, 4, 5])), q1d0)
  
file_path: catboost/contrib/python/scipy/py2/scipy/signal/tests/test_bsplines.py
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy import array
  from numpy.testing import TestCase, assert_equal, run_module_suite, assert_allclose, assert_array_equal, assert_almost_equal
  from pytest import raises
  import scipy.signal.bsplines
label_desc: Use image node_id 8 for calling the TestBSplines obj's underlying member method code with example usage: obj.test_qspline1d() without return types