code: def test_exp_sinch_overflow(self):
      # Check overflow in intermediate steps is fixed (gh-11839)
      L = np.array(
          [
              [1.0, -0.5, -0.5, 0.0, 0.0, 0.0, 0.0],
              [0.0, 1.0, 0.0, -0.5, -0.5, 0.0, 0.0],
              [0.0, 0.0, 1.0, 0.0, 0.0, -0.5, -0.5],
              [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
              [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
              [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
              [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
          ]
      )
  
      E0 = expm(-L)
      E1 = expm(-(2**11) * L)
      E2 = E0
      for j in range(11):
          E2 = E2 @ E2
  
      assert_allclose(E1, E2)
  
imports: import math
  import numpy
  from numpy import array, eye, exp, random
  from numpy.testing import assert_allclose, assert_, assert_array_almost_equal, assert_equal, assert_array_almost_equal_nulp, suppress_warnings
  from scipy.sparse import csc_matrix, csc_array, SparseEfficiencyWarning
  from scipy.sparse._construct import eye
  from scipy.sparse.linalg._matfuncs import expm, _expm, ProductOperator, MatrixPowerOperator, _onenorm_matrix_power_nnm, matrix_power
  from scipy.sparse._sputils import matrix
  from scipy.linalg import logm
  from scipy.special import factorial, binom
  import scipy.sparse
  import scipy.sparse.linalg
label_desc: Use image node_id 30 for calling the TestExpM obj's underlying member method code with example usage: obj.test_exp_sinch_overflow() without return types