code: def test_fallback_missing(recwarn, font_list):
      fig = plt.figure()
      fig.text(0.5, 0.5, "Hello 🙃 World!", family=font_list)
      fig.canvas.draw()
      assert all(
          isinstance(warn.message, UserWarning) for warn in recwarn
      )
      # not sure order is guaranteed on the font listing so
      assert (
          recwarn[0]
          .message.args[0]
          .startswith(
              "Glyph 128579 (\\N{UPSIDE-DOWN FACE}) missing from font(s)"
          )
      )
      assert all(
          [font in recwarn[0].message.args[0] for font in font_list]
      )
  
file_path: matplotlib/lib/matplotlib/tests/test_ft2font.py
imports: from pathlib import Path
  import io
  import pytest
  from matplotlib import ft2font
  from matplotlib.testing.decorators import check_figures_equal
  import matplotlib.font_manager
  import matplotlib.pyplot
label_desc: Use image node_id 5 for calling a global function with example usage: test_fallback_missing(recwarn, font_list) without return types