code: def test_matrix_input(self):
      # Large np.matrix inputs should work, gh-5546
      A = np.zeros((200, 200))
      A[-1, 0] = 1
      B0 = expm(A)
      with suppress_warnings() as sup:
          sup.filter(DeprecationWarning, "the matrix subclass.*")
          sup.filter(PendingDeprecationWarning, "the matrix subclass.*")
          B = expm(np.matrix(A))
      assert_allclose(B, B0)
  
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 29 for calling the TestExpM obj's underlying member method code with example usage: obj.test_matrix_input() without return types