code: def test_remove_zero_row():
      A = np.eye(3)
      A[1, :] = 0
      b = np.random.rand(3)
      b[1] = 0
      A1, b1, status, message = _remove_redundancy(A, b)
      assert_equal(status, 0)
      assert_allclose(A1, A[[0, 2], :])
      assert_allclose(b1, b[[0, 2]])
  
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy.testing import assert_, assert_allclose, assert_equal
  from .test_linprog import magic_square
  from scipy.optimize._remove_redundancy import _remove_redundancy
label_desc: Use image node_id 5 for calling a global function with example usage: test_remove_zero_row() without return types