code: def test_isneginf(self):
      a = nx.array([nx.inf, -nx.inf, nx.nan, 0.0, 3.0, -3.0])
      out = nx.zeros(a.shape, bool)
      tgt = nx.array([False, True, False, False, False, False])
  
      res = ufl.isneginf(a)
      assert_equal(res, tgt)
      res = ufl.isneginf(a, out)
      assert_equal(res, tgt)
      assert_equal(out, tgt)
  
      a = a.astype(np.complex_)
      with assert_raises(TypeError):
          ufl.isneginf(a)
  
file_path: catboost/contrib/python/numpy/py3/numpy/lib/tests/test_ufunclike.py
imports: import numpy
  import numpy.core
  import numpy.lib.ufunclike
  from numpy.testing import assert_, assert_equal, assert_array_equal, assert_warns, assert_raises
label_desc: Use image node_id 2 for calling the TestUfunclike obj's underlying member method code with example usage: obj.test_isneginf() without return types