code: def test_comparison_dt64_ndarray_tzaware(
      self, reverse, comparison_op
  ):
      ts = Timestamp("2021-01-01 00:00:00.00000", tz="UTC")
      arr = np.array([ts.asm8, ts.asm8], dtype="M8[ns]")
  
      left, right = ts, arr
      if reverse:
          left, right = arr, ts
  
      if comparison_op is operator.eq:
          expected = np.array([False, False], dtype=bool)
          result = comparison_op(left, right)
          tm.assert_numpy_array_equal(result, expected)
      elif comparison_op is operator.ne:
          expected = np.array([True, True], dtype=bool)
          result = comparison_op(left, right)
          tm.assert_numpy_array_equal(result, expected)
      else:
          msg = "Cannot compare tz-naive and tz-aware timestamps"
          with pytest.raises(TypeError, match=msg):
              comparison_op(left, right)
  
file_path: pandas/pandas/tests/scalar/timestamp/test_comparisons.py
imports: from datetime import datetime, timedelta
  import operator
  import numpy
  import pytest
  from pandas import Timestamp
  import pandas._testing
label_desc: Use image node_id 3 for calling the TestTimestampComparison obj's underlying member method code with example usage: obj.test_comparison_dt64_ndarray_tzaware(reverse, comparison_op) without return types