code: def test_recolor_too_small_set_default():
      # check no exception is raised when default colour is used
      colouring = np.array(Image.new("RGB", size=(20, 20)))
      wc = WordCloud(
          max_words=50, width=30, height=30, min_font_size=1
      ).generate(THIS)
      image_colors = ImageColorGenerator(
          colouring, default_color=(0, 0, 0)
      )
      wc.recolor(color_func=image_colors)
  
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 27 for calling a global function with example usage: test_recolor_too_small_set_default() without return types