MCPcopy Create free account
hub / github.com/pytest-dev/pytest / __eq__

Method __eq__

src/_pytest/_code/code.py:72–73  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

70 return cls(getrawcode(obj))
71
72 def __eq__(self, other):
73 return self.raw == other.raw
74
75 # Ignore type because of https://github.com/python/mypy/issues/4266.
76 __hash__ = None # type: ignore

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected