docstr: test secant doesn't continue to iterate zero derivatives
docstr_tok: ["test","secant","does","n't","continue","to","iterate","zero","derivatives"]
code: def test_array_secant_active_zero_der(self):
      """test secant doesn't continue to iterate zero derivatives"""
      x = zeros.newton(
          lambda x, *a: x * x - a[0],
          x0=[4.123, 5],
          args=[np.array([17, 25])],
      )
      assert_allclose(x, (4.123105625617661, 5.0))
  
imports: import pytest
  from math import sqrt, exp, sin, cos
  from functools import lru_cache
  from numpy.testing import assert_warns, assert_, assert_allclose, assert_equal, assert_array_equal, suppress_warnings
  import numpy
  from numpy import finfo, power, nan, isclose
  from scipy.optimize import zeros, newton, root_scalar
  from scipy._lib._util import getfullargspec_no_self
  from scipy.optimize._tstutils import get_tests, functions, fstrings
label_desc: Use image node_id 27 for calling the TestBasic obj's underlying member method code with example usage: obj.test_array_secant_active_zero_der() without return types