code: def test_logsumexp_complex_sign():
      a = np.array([1 + 1j, 2 - 1j, -2 + 3j])
  
      r, s = logsumexp(a, return_sign=True)
  
      expected_sumexp = np.exp(a).sum()
      # This is the numpy>=2.0 convention for np.sign
      expected_sign = expected_sumexp / abs(expected_sumexp)
  
      assert_allclose(s, expected_sign)
      assert_allclose(s * np.exp(r), expected_sumexp)
  
file_path: scipy/scipy/special/tests/test_logsumexp.py
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_equal, assert_allclose, assert_array_almost_equal, assert_
  from scipy.special import logsumexp, softmax
label_desc: Use image node_id 6 for calling a global function with example usage: test_logsumexp_complex_sign() without return types