code: def test_format_type(tmp_path, setup_path):
      df = DataFrame({"A": [1, 2]})
      with HDFStore(tmp_path / setup_path) as store:
          store.put("a", df, format="fixed")
          store.put("b", df, format="table")
  
          assert store.get_storer("a").format_type == "fixed"
          assert store.get_storer("b").format_type == "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 1 for calling a global function with example usage: test_format_type(tmp_path, setup_path) without return types