code: def test_word_rep(self):
      for word_rep in ["token", "lemma"]:
          _ = textacy.resources.DepecheMood(
              lang="it", word_rep=word_rep
          )
      for word_rep in ["lower", None]:
          with pytest.raises(ValueError):
              _ = textacy.resources.DepecheMood(word_rep=word_rep)
  
file_path: textacy/tests/resources/test_depeche_mood.py
imports: import pytest
  import textacy
  import textacy.resources
label_desc: Use image node_id 2 for calling the TestInitParams obj's underlying member method code with example usage: obj.test_word_rep() without return types