code: def test_issue358():
      t = analysis.RegexTokenizer("\w+")
      with pytest.raises(analysis.CompositionError):
          _ = t | analysis.StandardAnalyzer()
  
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 33 for calling a global function with example usage: test_issue358() without return types