MCPcopy Create free account
hub / github.com/cool-RR/PySnooper / check

Method check

tests/utils.py:86–92  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

84 pass
85
86 def check(self, s):
87 match = self.line_pattern.match(s)
88 if not match:
89 return False
90 _, preamble, content = match.groups()
91 return (self._check_preamble(preamble) and
92 self._check_content(content))
93
94
95class ElapsedTimeEntry(_BaseEntry):

Callers

nothing calls this directly

Calls 3

_check_preambleMethod · 0.95
_check_contentMethod · 0.95
matchMethod · 0.80

Tested by

no test coverage detected