MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / __eq__

Method __eq__

mongoengine/context_managers.py:250–252  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

248 self._resets_profiling()
249
250 def __eq__(self, value):
251 counter = self._get_count()
252 return value == counter
253
254 def __ne__(self, value):
255 return not self.__eq__(value)

Callers 1

__ne__Method · 0.95

Calls 1

_get_countMethod · 0.95

Tested by

no test coverage detected