code: def test_stop_lang():
      stopper = analysis.RegexTokenizer() | analysis.StopFilter()
      ls = [token.text for token in stopper(u("this is a test"))]
      assert ls == [u("test")]
  
      es_stopper = analysis.RegexTokenizer() | analysis.StopFilter(
          lang="es"
      )
      ls = [
          token.text
          for token in es_stopper(u("el lapiz es en la mesa"))
      ]
      assert ls == ["lapiz", "mesa"]
  
imports: from __future__ import with_statement
  import pytest
  from whoosh import analysis, fields, qparser
  from whoosh.compat import b, u, unichr
  from whoosh.compat import dumps
  from whoosh.filedb.filestore import RamStorage
label_desc: Use image node_id 32 for calling a global function with example usage: test_stop_lang() without return types