MCPcopy
hub / github.com/cool-RR/PySnooper / _check_preamble

Method _check_preamble

tests/utils.py:215–216  ·  view source on GitHub ↗
(self, preamble)

Source from the content-addressed store, hash-verified

213 re.compile(value_regex))
214
215 def _check_preamble(self, preamble):
216 return bool(self._preamble_pattern.match(preamble))
217
218 def _check_content(self, content):
219 return self._check_value(content)

Callers

nothing calls this directly

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected