code: def test_run_wrong_input_format(self):
      embedder = OpenAITextEmbedder(api_key="fake-api-key")
  
      list_integers_input = [1, 2, 3]
  
      with pytest.raises(
          TypeError,
          match="OpenAITextEmbedder expects a string as an input",
      ):
          embedder.run(text=list_integers_input)
  
file_path: haystack/test/components/embedders/test_openai_text_embedder.py
imports: import os
  import pytest
  from openai import OpenAIError
  from haystack.components.embedders.openai_text_embedder import OpenAITextEmbedder
label_desc: Use image node_id 6 for calling the TestOpenAITextEmbedder obj's underlying member method code with example usage: obj.test_run_wrong_input_format() without return types