MCPcopy Create free account
hub / github.com/microsoft/debugpy / NotEqualTo

Class NotEqualTo

tests/patterns/_impl.py:327–338  ·  view source on GitHub ↗

Matches any object that is not equal to the specified object.

Source from the content-addressed store, hash-verified

325
326
327class NotEqualTo(Also):
328 """Matches any object that is not equal to the specified object."""
329
330 def __init__(self, pattern, obj):
331 super().__init__(pattern)
332 self.obj = obj
333
334 def __repr__(self):
335 return f"<!={self.obj!r}>"
336
337 def _also(self, value):
338 return self.obj != value
339
340
341class SameAs(Also):

Callers 1

not_equal_toMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…