class_docstr: These tests do not consider the case of multiple time steps in one call.
class_docstr_tok: ["These","tests","do","not","consider","the","case","of","multiple","time","steps","in","one","call","."]
code: def test_complex(self):
      A = np.array([[1j, 1j], [0, 1j]], dtype=complex)
      B = np.array([1j, 1j])
      observed = expm_multiply(A, B)
      expected = np.array(
          [
              1j * np.exp(1j) + 1j * (1j * np.cos(1) - np.sin(1)),
              1j * np.exp(1j),
          ],
          dtype=complex,
      )
      assert_allclose(observed, expected)
  
imports: import numpy
  from numpy.testing import assert_allclose, assert_, assert_equal, suppress_warnings
  from scipy.sparse import SparseEfficiencyWarning
  import scipy.linalg
  from scipy.sparse.linalg._expm_multiply import _theta, _compute_p_max, _onenormest_matrix_power, expm_multiply, _expm_multiply_simple, _expm_multiply_interval
label_desc: Use image node_id 10 for calling the TestExpmActionSimple obj's underlying member method code with example usage: obj.test_complex() without return types