code: def client():
      static_dir: Path = Path(os.getcwd()) / "static"
      print(static_dir)
      static_dir.mkdir(exist_ok=True)
      from docs_src.custom_docs_ui.tutorial001 import app
  
      with TestClient(app) as client:
          yield client
      static_dir.rmdir()
  
file_path: fastapi/tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py
imports: import os
  from pathlib import Path
  import pytest
  from fastapi.testclient import TestClient
label_desc: Use image node_id 1 for calling a global function with example usage: client() without return types