code: def test_unique_axis(self):
      types = []
      types.extend(np.typecodes["AllInteger"])
      types.extend(np.typecodes["AllFloat"])
      types.append("datetime64[D]")
      types.append("timedelta64[D]")
      types.append([("a", int), ("b", int)])
      types.append([("a", int), ("b", float)])
  
      for dtype in types:
          self._run_axis_tests(dtype)
  
      msg = "Non-bitwise-equal booleans test failed"
      data = np.arange(10, dtype=np.uint8).reshape(-1, 2).view(bool)
      result = np.array([[False, True], [True, True]], dtype=bool)
      assert_array_equal(unique(data, axis=0), result, msg)
  
      msg = "Negative zero equality test failed"
      data = np.array(
          [[-0.0, 0.0], [0.0, -0.0], [-0.0, 0.0], [0.0, -0.0]]
      )
      result = np.array([[-0.0, 0.0]])
      assert_array_equal(unique(data, axis=0), result, msg)
  
imports: import numpy
  from numpy.testing import assert_array_equal, assert_equal, assert_raises, assert_raises_regex
  from numpy.lib.arraysetops import ediff1d, intersect1d, setxor1d, union1d, setdiff1d, unique, in1d, isin
  import pytest
label_desc: Use image node_id 4 for calling the TestUnique obj's underlying member method code with example usage: obj.test_unique_axis() without return types