Merge "Add __ne__ built-in function"

This commit is contained in:
Jenkins 2016-10-18 05:21:42 +00:00 committed by Gerrit Code Review
commit 27e5d19ec5

View File

@ -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()