code: def test_np_matrix(self):
      # gh-10711
      with np.testing.suppress_warnings() as sup:
          sup.filter(PendingDeprecationWarning)
          A = np.matrix([[20, -4, 0, 2, 3], [10, -2, 1, 0, -1]])
      k = np.array([20, 15])
      lsq_linear(A, k)
  
imports: import pytest
  import numpy
  from numpy.linalg import lstsq
  from numpy.testing import assert_allclose, assert_equal, assert_
  from scipy.sparse import rand, coo_matrix
  from scipy.sparse.linalg import aslinearoperator
  from scipy.optimize import lsq_linear
  from scipy.optimize._minimize import Bounds
label_desc: Use image node_id 5 for calling the BaseMixin obj's underlying member method code with example usage: obj.test_np_matrix() without return types