MCPcopy Create free account
hub / github.com/pybind/pybind11 / __eq__

Method __eq__

tests/conftest.py:167–173  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

165 __hash__ = None
166
167 def __eq__(self, other):
168 a = self.string
169 b = _strip_and_dedent(other)
170 if a == b:
171 return True
172 self.explanation = _make_explanation(a.splitlines(), b.splitlines())
173 return False
174
175
176def _sanitize_general(s):

Callers

nothing calls this directly

Calls 2

_strip_and_dedentFunction · 0.85
_make_explanationFunction · 0.85

Tested by

no test coverage detected