Lines Matching defs:__eq__
158 def __eq__(self, other):
173 # called, (due to __eq__ being defined), since it's None
178 def __eq__(self):
185 # had been auto-generated due to __eq__ being defined.
191 def __eq__(self):
457 self.assertNotIn('__eq__', C.__dict__)
463 self.assertIn('__eq__', C.__dict__)
469 self.assertIn('__eq__', C.__dict__)
2087 '__eq__',
2400 # Test a class with no __eq__ and eq=False.
2408 # Test a class with an __eq__ and eq=False.
2412 def __eq__(self, other):
2417 # If the class has __eq__, use it no matter the value of
2423 def __eq__(self, other):
2431 def __eq__(self, other):
2439 def __eq__(self, other):
2608 # If a class defines __eq__, __hash__ is automatically added
2616 def __eq__(self, other):
2626 def __eq__(self, other):
2631 # And check that the classes __eq__ is being used, despite
2636 def __eq__(self, other):