code: def test_bandwidth_square_symmetric_inputs(self, dtype):
      n = 10
      for k in range(1, 10):
          R = np.zeros([n, n], dtype=dtype)
          # form a banded matrix inplace
          R[[x for x in range(n)], [x for x in range(n)]] = 1
          R[[x for x in range(n - k)], [x for x in range(k, n)]] = 1
          R[[x for x in range(1, n)], [x for x in range(n - 1)]] = 1
          R[[x for x in range(k, n)], [x for x in range(n - k)]] = 1
          testing.assert_array_equal(bandwidth(R), (k, k))
  
file_path: cupy/tests/cupyx_tests/scipy_tests/linalg_tests/test_array_utils.py
imports: import numpy
  from numpy import linalg
  from cupyx.scipy.linalg import bandwidth
  from pytest import raises
  from cupy import testing
label_desc: Use image node_id 2 for calling the TestBadwidth obj's underlying member method code with example usage: obj.test_bandwidth_square_symmetric_inputs(dtype) without return types