code: def test_hash_pandas_empty_object(klass, dtype, index):
      # These are by-definition the same with
      # or without the index as the data is empty.
      obj = klass([], dtype=dtype)
      a = hash_pandas_object(obj, index=index)
      b = hash_pandas_object(obj, index=index)
      tm.assert_series_equal(a, b)
  
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 17 for calling a global function with example usage: test_hash_pandas_empty_object(klass, dtype, index) without return types