code: def test_anchor_text_fails_wrong_predictor_return_type():
      with pytest.raises(PredictorReturnTypeError):
          explainer = AnchorText(bad_predictor_return_type)
  
imports: import pytest
  from pytest_lazyfixture import lazy_fixture
  import string
  import numpy
  from typing import List
  from alibi.api.defaults import DEFAULT_META_ANCHOR, DEFAULT_DATA_ANCHOR
  from alibi.exceptions import PredictorCallError, PredictorReturnTypeError
  from alibi.explainers import AnchorText
  from alibi.explainers.anchors.text_samplers import Neighbors, load_spacy_lexeme_prob
  from alibi.explainers.anchors.language_model_text_sampler import LanguageModelSampler
  from alibi.explainers.tests.utils import predict_fcn
label_desc: Use image node_id 14 for calling a global function with example usage: test_anchor_text_fails_wrong_predictor_return_type() without return types