code: def test_listlabel_not_allowed_label_error():
      with pytest.raises(TypeError) as type_error:
          df = pd.DataFrame({"a": [1], "b": [2], "x": [1]})
          conv = DFtoVW(
              df=df,
              label=[SimpleLabel("a"), SimpleLabel("b")],
              features=Feature("x"),
          )
      expected = "The only labels that can be used with list are 'ContextualbanditLabel', 'MultiLabel'."
      assert expected == str(type_error.value)
  
imports: import pytest
  import pandas
  from vowpalwabbit.dftovw import ContextualbanditLabel, DFtoVW, Feature, MulticlassLabel, MultiLabel, Namespace, SimpleLabel
label_desc: Use image node_id 35 for calling a global function with example usage: test_listlabel_not_allowed_label_error() without return types