Merge "Add __ne__ built-in function"
This commit is contained in:
commit
27e5d19ec5
@ -146,6 +146,9 @@ class CallbackEqualityTest(test_base.BaseTestCase):
|
||||
def __eq__(self, other):
|
||||
return True
|
||||
|
||||
def __ne__(self, other):
|
||||
return not self.__eq__(other)
|
||||
|
||||
b = A()
|
||||
c = A()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user