code: def test_make_pattern_from_string(self, patstr, pat):
      assert _make_pattern_from_string(patstr) == pat
  
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 10 for calling the TestTokenMatches obj's underlying member method code with example usage: obj.test_make_pattern_from_string(patstr, pat) without return types