code: def test_dense2():
      A = np.eye(6)
      A[-2, -1] = 1
      A[-1, :] = 1
      b = np.zeros(A.shape[0])
      A1, b1, status, message = _remove_redundancy(A, b)
      assert_allclose(A1, A[:-1, :])
      assert_allclose(b1, b[:-1])
      assert_equal(status, 0)
  
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 13 for calling a global function with example usage: test_dense2() without return types