code: def test_unknown_array_format() -> None:
      with pytest.raises(
          NotImplementedError,
          match="Unknown array_format value: foo, choose from comma, repeat",
      ):
          stringify(
              {"a": ["foo", "bar"]}, array_format=cast(Any, "foo")
          )
  
file_path: openai-python/tests/test_qs.py
imports: from typing import Any, cast
  from functools import partial
  from urllib.parse import unquote
  import pytest
  from openai._qs import Querystring, stringify
label_desc: Use image node_id 8 for calling a global function with example usage: test_unknown_array_format() without return types