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

Method _check_value

tests/utils.py:186–192  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

184 return True
185
186 def _check_value(self, value):
187 if self.value is not None:
188 return value == self.value
189 elif self.value_regex is not None:
190 return self.value_regex.match(value)
191 else:
192 return True
193
194 def _check_stage(self, stage):
195 stage = stage.lower()

Callers 1

_check_contentMethod · 0.95

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected