code: def test_consistency():
      # Check that our hash doesn't change because of a mistake
      # in the actual code; this is the ground truth.
      result = hash_pandas_object(Index(["foo", "bar", "baz"]))
      expected = Series(
          np.array(
              [
                  3600424527151052760,
                  1374399572096150070,
                  477881037637427054,
              ],
              dtype="uint64",
          ),
          index=["foo", "bar", "baz"],
      )
      tm.assert_series_equal(result, expected)
  
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, MultiIndex, Series, period_range, timedelta_range
  import pandas._testing
  from pandas.core.util.hashing import hash_tuples
  from pandas.util import hash_array, hash_pandas_object
label_desc: Use image node_id 3 for calling a global function with example usage: test_consistency() without return types