MCPcopy Create free account
hub / github.com/ActiveState/code / _validate

Method _validate

recipes/Python/578615_graph/recipe-578615.py:278–281  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

276 super(ReverseEdgeMixin, self).clear()
277
278 def _validate(self):
279 super(ReverseEdgeMixin, self)._validate()
280 for tail in self:
281 assert self._graph[tail].reverse[self._id] == self[tail]
282
283
284class WVertex(VertexCommon):

Callers

nothing calls this directly

Calls 1

_validateMethod · 0.45

Tested by

no test coverage detected