We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b37be8 commit f068836Copy full SHA for f068836
Lib/test/test_compare.py
@@ -52,6 +52,7 @@ def test_ne_defaults_to_not_eq(self):
52
self.assertIs(a != b, False)
53
self.assertIs(a != c, True)
54
55
+ @unittest.expectedFailure
56
def test_ne_high_priority(self):
57
"""object.__ne__() should allow reflected __ne__() to be tried"""
58
calls = []
@@ -70,6 +71,7 @@ def __ne__(*args):
70
71
Left() != Right()
72
self.assertSequenceEqual(calls, ['Left.__eq__', 'Right.__ne__'])
73
74
75
def test_ne_low_priority(self):
76
"""object.__ne__() should not invoke reflected __eq__()"""
77
0 commit comments