code: def test_pass_spec_to_storer(setup_path):
      df = DataFrame(
          1.1 * np.arange(120).reshape((30, 4)),
          columns=Index(list("ABCD"), dtype=object),
          index=Index([f"i-{i}" for i in range(30)], dtype=object),
      )
  
      with ensure_clean_store(setup_path) as store:
          store.put("df", df)
          msg = (
              "cannot pass a column specification when reading a Fixed format "
              "store. this store must be selected in its entirety"
          )
          with pytest.raises(TypeError, match=msg):
              store.select("df", columns=["A"])
          msg = (
              "cannot pass a where specification when reading from a Fixed "
              "format store. this store must be selected in its entirety"
          )
          with pytest.raises(TypeError, match=msg):
              store.select("df", where=[("columns=A")])
  
file_path: pandas/pandas/tests/io/pytables/test_errors.py
imports: import datetime
  from io import BytesIO
  import re
  import numpy
  import pytest
  from pandas import CategoricalIndex, DataFrame, HDFStore, Index, MultiIndex, _testing, date_range, read_hdf
  from pandas.tests.io.pytables.common import ensure_clean_store
  from pandas.io.pytables import Term, _maybe_adjust_name
label_desc: Use image node_id 1 for calling a global function with example usage: test_pass_spec_to_storer(setup_path) without return types