summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sets.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_sets.py')
-rw-r--r--Lib/test/test_sets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_sets.py b/Lib/test/test_sets.py
index 9ff98a6..65b48e2 100644
--- a/Lib/test/test_sets.py
+++ b/Lib/test/test_sets.py
@@ -419,12 +419,12 @@ class TestOnlySetsInBinaryOps(unittest.TestCase):
def test_cmp(self):
try:
- self.other < self.set
+ self.other == self.set
assert 0, "Comparison with non-set on left"
except TypeError:
pass
try:
- self.set >= self.other
+ self.set != self.other
assert 0, "Comparison with non-set on right"
except TypeError:
pass