code: def test_equals_categorical_unordered(self):
      # https://github.com/pandas-dev/pandas/issues/16603
      a = CategoricalIndex(["A"], categories=["A", "B"])
      b = CategoricalIndex(["A"], categories=["B", "A"])
      c = CategoricalIndex(["C"], categories=["B", "A"])
      assert a.equals(b)
      assert not a.equals(c)
      assert not b.equals(c)
  
file_path: pandas/pandas/tests/indexes/categorical/test_equals.py
imports: import numpy
  import pytest
  from pandas import Categorical, CategoricalIndex, Index, MultiIndex
label_desc: Use image node_id 2 for calling the TestEquals obj's underlying member method code with example usage: obj.test_equals_categorical_unordered() without return types