code: def test_format_kwarg_in_constructor(tmp_path, setup_path):
      # GH 13291
  
      msg = "format is not a defined argument for HDFStore"
  
      with pytest.raises(ValueError, match=msg):
          HDFStore(tmp_path / setup_path, format="table")
  
file_path: pandas/pandas/tests/io/pytables/test_put.py
imports: import re
  import numpy
  import pytest
  from pandas._libs.tslibs import Timestamp
  import pandas
  from pandas import DataFrame, HDFStore, Index, MultiIndex, Series, _testing, concat, date_range
  from pandas.tests.io.pytables.common import _maybe_remove, ensure_clean_store
  from pandas.util import _test_decorators
label_desc: Use image node_id 2 for calling a global function with example usage: test_format_kwarg_in_constructor(tmp_path, setup_path) without return types