code: def test_make_pattern_from_str_error(self, patstr):
      with pytest.raises(ValueError):
          _ = _make_pattern_from_string(patstr)
  
imports: import re
  import pytest
  from spacy.tokens import Span
  from textacy import extract
  from textacy.extract.matches import _make_pattern_from_string
label_desc: Use image node_id 11 for calling the TestTokenMatches obj's underlying member method code with example usage: obj.test_make_pattern_from_str_error(patstr) without return types