code: def test_keyword_deprecation(tmp_path, setup_path):
      # GH 54229
      path = tmp_path / setup_path
  
      msg = (
          "Starting with pandas version 3.0 all arguments of to_hdf except for the "
          "argument 'path_or_buf' will be keyword-only."
      )
      df = DataFrame(
          [{"A": 1, "B": 2, "C": 3}, {"A": 1, "B": 2, "C": 3}]
      )
  
      with tm.assert_produces_warning(FutureWarning, match=msg):
          df.to_hdf(path, "key")
  
imports: import contextlib
  import datetime
  import hashlib
  import tempfile
  import time
  import numpy
  import pytest
  import pandas
  from pandas import DataFrame, DatetimeIndex, Index, MultiIndex, Series, Timestamp, concat, date_range, period_range, timedelta_range
  import pandas._testing
  from pandas.tests.io.pytables.common import _maybe_remove, ensure_clean_store
  from pandas.io.pytables import HDFStore, read_hdf
label_desc: Use image node_id 10 for calling a global function with example usage: test_keyword_deprecation(tmp_path, setup_path) without return types