code: def test_singular():
      A, b = get_sample_problem()
      A[0,] = 0
      b[0] = 0
      xp, info = minres(A, b)
      assert_equal(info, 0)
      assert norm(A @ xp - b) <= 1e-5 * norm(b)
  
file_path: scipy/scipy/sparse/linalg/_isolve/tests/test_minres.py
imports: import numpy
  from numpy.linalg import norm
  from numpy.testing import assert_equal, assert_allclose, assert_
  from scipy.sparse.linalg._isolve import minres
  from pytest import raises
label_desc: Use image node_id 2 for calling a global function with example usage: test_singular() without return types