code: def test_feather_datetime_resolution_arrow_to_pandas(tempdir):
      # ARROW-17192 - ensure timestamp_as_object=True (together with other
      # **kwargs) can be passed in read_feather to to_pandas.
  
      from datetime import datetime
  
      df = pd.DataFrame(
          {
              "date": [
                  datetime.fromisoformat("1654-01-01"),
                  datetime.fromisoformat("1920-01-01"),
              ],
          }
      )
      write_feather(df, tempdir / "test_resolution.feather")
  
      expected_0 = datetime.fromisoformat("1654-01-01")
      expected_1 = datetime.fromisoformat("1920-01-01")
  
      result = read_feather(
          tempdir / "test_resolution.feather", timestamp_as_object=True
      )
  
      assert expected_0 == result["date"][0]
      assert expected_1 == result["date"][1]
  
imports: import io
  import os
  import sys
  import tempfile
  import pytest
  import hypothesis
  import hypothesis.strategies
  import numpy
  import pyarrow
  import pyarrow.tests.strategies
  from pyarrow.feather import read_feather, write_feather, read_table, FeatherDataset
label_desc: Use image node_id 59 for calling a global function with example usage: test_feather_datetime_resolution_arrow_to_pandas(tempdir) without return types