code: def test_arrow_duration_resample():
      # GH 56371
      idx = pd.Index(
          timedelta_range("1 day", periods=5),
          dtype="duration[ns][pyarrow]",
      )
      expected = Series(np.arange(5, dtype=np.float64), index=idx)
      result = expected.resample("1D").mean()
      tm.assert_series_equal(result, expected)
  
imports: from datetime import timedelta
  import numpy
  import pytest
  import pandas.util._test_decorators
  import pandas
  from pandas import DataFrame, Series
  import pandas._testing
  from pandas.core.indexes.timedeltas import timedelta_range
label_desc: Use image node_id 14 for calling a global function with example usage: test_arrow_duration_resample() without return types