code: def test_matcher_basic_check(en_vocab):
      matcher = Matcher(en_vocab)
      # Potential mistake: pass in pattern instead of list of patterns
      pattern = [{"TEXT": "hello"}, {"TEXT": "world"}]
      with pytest.raises(ValueError):
          matcher.add("TEST", pattern)
  
imports: import pytest
  from mock import Mock
  from spacy.matcher import Matcher
  from spacy.tokens import Doc, Span, Token
  from ..doc.test_underscore import clean_underscore
label_desc: Use image node_id 39 for calling a global function with example usage: test_matcher_basic_check(en_vocab) without return types