code: def test_knot_weights_exception_is_not_raised(
      self, positions_rank, dims
  ):
      shapes = ([dims] * positions_rank,)
  
      self.assert_exception_is_not_raised(
          bspline.knot_weights,
          shapes=shapes,
          num_knots=3,
          degree=2,
          cyclical=True,
      )
  
file_path: graphics/tensorflow_graphics/math/interpolation/tests/bspline_test.py
imports: from absl.testing import parameterized
  import numpy
  from tensorflow_graphics.math.interpolation import bspline
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 11 for calling the BSplineTest obj's underlying member method code with example usage: obj.test_knot_weights_exception_is_not_raised(positions_rank, dims) without return types