docstr: Test for the case when the input knot-location arrays in x and y are
  of different lengths.
docstr_tok: ["Test","for","the","case","when","the","input","knot-location","arrays","in","x","and","y","are","of","different","lengths","."]
code: def test_unequal_length_of_knots(self):
      """Test for the case when the input knot-location arrays in x and y are
      of different lengths.
      """
      x, y = np.mgrid[0:100, 0:100]
      x = x.ravel()
      y = y.ravel()
      z = 3.0 * np.ones_like(x)
      tx = np.linspace(0.1, 98.0, 29)
      ty = np.linspace(0.1, 98.0, 33)
      with suppress_warnings() as sup:
          r = sup.record(
              UserWarning, "\nThe coefficients of the spline"
          )
          lut = LSQBivariateSpline(x, y, z, tx, ty)
          assert_equal(len(r), 1)
  
      assert_almost_equal(lut(x, y, grid=False), z)
  
imports: import numpy
  from numpy.testing import assert_equal, assert_almost_equal, assert_array_equal, assert_array_almost_equal, assert_allclose, suppress_warnings
  from pytest import raises
  from numpy import array, diff, linspace, meshgrid, ones, pi, shape
  from scipy.interpolate.fitpack import bisplrep, bisplev
  from scipy.interpolate.fitpack2 import UnivariateSpline, LSQUnivariateSpline, InterpolatedUnivariateSpline, LSQBivariateSpline, SmoothBivariateSpline, RectBivariateSpline, LSQSphereBivariateSpline, SmoothSphereBivariateSpline, RectSphereBivariateSpline
label_desc: Use image node_id 7 for calling the TestLSQBivariateSpline obj's underlying member method code with example usage: obj.test_unequal_length_of_knots() without return types