code: def test_tiny_canvas():
      # check exception if canvas too small for fallback
      w = WordCloud(max_words=50, width=1, height=1)
      with pytest.raises(
          ValueError, match="Couldn't find space to draw"
      ):
          w.generate(THIS)
      assert len(w.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 29 for calling a global function with example usage: test_tiny_canvas() without return types