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

Method _check_preamble

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

Source from the content-addressed store, hash-verified

158 )
159
160 def _check_preamble(self, preamble):
161 match = self._preamble_pattern.match(preamble)
162 if not match:
163 return False
164 stage = match.group('stage')
165 return self._check_stage(stage)
166
167 _content_pattern = re.compile(
168 r"""^(?P<name>.+?) = (?P<value>.+)$"""

Callers

nothing calls this directly

Calls 3

_check_stageMethod · 0.95
matchMethod · 0.80
groupMethod · 0.45

Tested by

no test coverage detected