code: def test_halley_collections(self):
      known_fail = [
          "aps.12.06",
          "aps.12.07",
          "aps.12.08",
          "aps.12.09",
          "aps.12.10",
          "aps.12.11",
          "aps.12.12",
          "aps.12.13",
          "aps.12.14",
          "aps.12.15",
          "aps.12.16",
          "aps.12.17",
          "aps.12.18",
          "aps.13.00",
      ]
      for collection in ["aps", "complex"]:
          self.run_collection(
              collection,
              zeros.newton,
              "halley",
              smoothness=2,
              known_fail=known_fail,
          )
  
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 13 for calling the TestBasic obj's underlying member method code with example usage: obj.test_halley_collections() without return types