code: def test_derivs_shapes():
      def krogh_derivs(x, y, axis=0):
          return KroghInterpolator(x, y, axis).derivatives
  
      for s1 in SHAPES:
          for s2 in SHAPES:
              for axis in range(-len(s2), len(s2)):
                  check_shape(krogh_derivs, s1, s2, (6,), axis)
  
imports: import warnings
  import io
  import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal, assert_array_almost_equal, assert_allclose, assert_equal, assert_
  from pytest import raises
  from scipy.interpolate import KroghInterpolator, krogh_interpolate, BarycentricInterpolator, barycentric_interpolate, approximate_taylor_polynomial, CubicHermiteSpline, pchip, PchipInterpolator, pchip_interpolate, Akima1DInterpolator, CubicSpline, make_interp_spline
label_desc: Use image node_id 3 for calling a global function with example usage: test_derivs_shapes() and returns: KroghInterpolator