code: def test_collocation_stopwords_uppercase():
      wc = WordCloud(
          collocations=True,
          stopwords={"thank", "hi", "there"},
          collocation_threshold=9,
      )
      wc.generate(STOPWORDED_COLLOCATIONS_UPPERCASE)
  
      assert "Thank you" not in wc.words_
      assert "thank you" not in wc.words_
      assert "Thank" not in wc.words_
      # a bigram of all stopwords will be removed
      assert "hi There" not in wc.words_
      assert "Hi there" not in wc.words_
      assert "Hi There" not in wc.words_
  
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 3 for calling a global function with example usage: test_collocation_stopwords_uppercase() without return types