code: def test_categorical_tuple_equality(self):
      # GH 18050
      ser = Series([(0, 0), (0, 1), (0, 0), (1, 0), (1, 1)])
      expected = Series([True, False, True, False, False])
      result = ser == (0, 0)
      tm.assert_series_equal(result, expected)
  
      result = ser.astype("category") == (0, 0)
      tm.assert_series_equal(result, expected)
  
imports: import numpy
  from pandas import Categorical, Series
  import pandas._testing
label_desc: Use image node_id 2 for calling the TestCategoricalComparisons obj's underlying member method code with example usage: obj.test_categorical_tuple_equality() without return types