code: def test_isolve_gmres(matrices):
      # Several of the iterative solvers use the same
      # isolve.utils.make_system wrapper code, so test just one of them.
      A_dense, A_sparse, b = matrices
      x, info = splin.gmres(A_sparse, b, atol=1e-15)
      assert info == 0
      assert isinstance(x, np.ndarray)
      assert_allclose(A_sparse @ x, b)
  
imports: import pytest
  import numpy
  import scipy.sparse
  import scipy.sparse.linalg
  from numpy.testing import assert_allclose
label_desc: Use image node_id 5 for calling a global function with example usage: test_isolve_gmres(matrices) without return types