Skip to content

Commit f068836

Browse files
committed
Mark test_compare failed test with expectedFailure
1 parent 9b37be8 commit f068836

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_compare.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def test_ne_defaults_to_not_eq(self):
5252
self.assertIs(a != b, False)
5353
self.assertIs(a != c, True)
5454

55+
@unittest.expectedFailure
5556
def test_ne_high_priority(self):
5657
"""object.__ne__() should allow reflected __ne__() to be tried"""
5758
calls = []
@@ -70,6 +71,7 @@ def __ne__(*args):
7071
Left() != Right()
7172
self.assertSequenceEqual(calls, ['Left.__eq__', 'Right.__ne__'])
7273

74+
@unittest.expectedFailure
7375
def test_ne_low_priority(self):
7476
"""object.__ne__() should not invoke reflected __eq__()"""
7577
calls = []

0 commit comments

Comments
 (0)