code: def test_select_dtypes_str_raises(self, dtype, arg):
      df = DataFrame(
          {
              "a": list("abc"),
              "g": list("abc"),
              "b": list(range(1, 4)),
              "c": np.arange(3, 6).astype("u1"),
              "d": np.arange(4.0, 7.0, dtype="float64"),
              "e": [True, False, True],
              "f": pd.date_range("now", periods=3).values,
          }
      )
      msg = "string dtypes are not allowed"
      kwargs = {arg: [dtype]}
  
      with pytest.raises(TypeError, match=msg):
          df.select_dtypes(**kwargs)
  
imports: import numpy
  import pytest
  from pandas.core.dtypes.dtypes import ExtensionDtype
  import pandas
  from pandas import DataFrame, Timestamp
  import pandas._testing
  from pandas.core.arrays import ExtensionArray
label_desc: Use image node_id 14 for calling the TestSelectDtypes obj's underlying member method code with example usage: obj.test_select_dtypes_str_raises(dtype, arg) without return types