code: def test_multiple_rhs():
      random = np.random.RandomState(1234)
      c = random.randn(4)
      r = random.randn(4)
      for offset in [0, 1j]:
          for yshape in ((4,), (4, 3), (4, 3, 2)):
              y = random.randn(*yshape) + offset
              actual = solve_toeplitz((c, r), b=y)
              desired = solve(toeplitz(c, r=r), y)
              assert_equal(actual.shape, yshape)
              assert_equal(desired.shape, yshape)
              assert_allclose(actual, desired)
  
file_path: catboost/contrib/python/scipy/py3/scipy/linalg/tests/test_solve_toeplitz.py
imports: import numpy
  from scipy.linalg._solve_toeplitz import levinson
  from scipy.linalg import solve, toeplitz, solve_toeplitz
  from numpy.testing import assert_equal, assert_allclose
  import pytest
  from pytest import raises
label_desc: Use image node_id 2 for calling a global function with example usage: test_multiple_rhs() without return types