code: def test_textbbox():
      im = Image.new("RGB", (200, 200))
      d = ImageDraw.Draw(im)
      default_font = ImageFont.load_default()
      assert d.textlength("test", font=default_font) == 24
      assert d.textbbox((0, 0), "test", font=default_font) == (
          0,
          0,
          24,
          11,
      )
  
file_path: pillow/Tests/test_imagefontpil.py
imports: from __future__ import annotations
  import struct
  import pytest
  from io import BytesIO
  from PIL import Image, ImageDraw, ImageFont, features, _util
  from .helper import assert_image_equal_tofile
label_desc: Use image node_id 6 for calling a global function with example usage: test_textbbox() without return types