MCPcopy Create free account
hub / github.com/numpy/numpy / __eq__

Method __eq__

numpy/core/tests/test_multiarray.py:9593–9594  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

9591 # The PR fixed this for __array_priority__ and __array_ufunc__ = None.
9592 class MyAlwaysEqual:
9593 def __eq__(self, other):
9594 return "eq"
9595
9596 def __ne__(self, other):
9597 return "ne"

Calls

no outgoing calls

Tested by

no test coverage detected