code: def test_small_canvas():
      # check font size fallback works on small canvas
      wc = WordCloud(max_words=50, width=21, height=21)
      wc.generate(SMALL_CANVAS)
      assert len(wc.layout_) > 0
  
imports: from wordcloud import WordCloud, get_single_color_func, ImageColorGenerator
  import numpy
  import pytest
  from random import Random
  from numpy.testing import assert_array_equal
  from PIL import Image
  import xml.etree.ElementTree
  import matplotlib
label_desc: Use image node_id 28 for calling a global function with example usage: test_small_canvas() without return types