Home | History | Annotate | Download | only in test

Lines Matching refs:__cmp__

23     def __cmp__(self, other):

211 self.assertRaises(TypeError, self.s.__cmp__, self.s)
964 # because __eq__ is tried before __cmp__, and a.__eq__(a) returns True,
966 # without calling __cmp__.