code: def test_fonts():
      font_list = fonts()
      if not font_list:
          mark.skip("Fonts not configured on system")
      else:
          first_font = font_list[0]
          first_font_part = first_font[1:-1]
          assert first_font in fonts("*{0}*".format(first_font_part))
      with raises(TypeError):
          fonts(0xDEADBEEF)
  
file_path: wand/tests/misc_test.py
imports: import datetime
  import numbers
  import re
  from pytest import mark, raises
  from wand.version import MAGICK_VERSION, MAGICK_VERSION_INFO, MAGICK_VERSION_NUMBER, MAGICK_RELEASE_DATE, MAGICK_RELEASE_DATE_STRING, QUANTUM_DEPTH, configure_options, fonts, formats
label_desc: Use image node_id 4 for calling a global function with example usage: test_fonts() without return types