code: def test_spherical_yn_recurrence_complex(self):
      # https://dlmf.nist.gov/10.51.E1
      n = np.array([1, 2, 3, 7, 12])
      x = 1.1 + 1.5j
      assert_allclose(
          spherical_yn(n - 1, x) + spherical_yn(n + 1, x),
          (2 * n + 1) / x * spherical_yn(n, x),
      )
  
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_allclose, assert_array_almost_equal, suppress_warnings
  import pytest
  from numpy import sin, cos, sinh, cosh, exp, inf, nan, r_, pi
  from scipy.special import spherical_jn, spherical_yn, spherical_in, spherical_kn
  from scipy.integrate import quad
label_desc: Use image node_id 3 for calling the TestSphericalYn obj's underlying member method code with example usage: obj.test_spherical_yn_recurrence_complex() without return types