diff options
Diffstat (limited to 'Lib/test/test_set.py')
-rw-r--r-- | Lib/test/test_set.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py index 5a8819f..15d3c6f 100644 --- a/Lib/test/test_set.py +++ b/Lib/test/test_set.py @@ -1036,16 +1036,6 @@ class TestBinaryOps(unittest.TestCase): result = self.set ^ set([8]) self.assertEqual(result, set([2, 4, 6, 8])) - def test_cmp(self): - a, b = set('a'), set('b') - self.assertRaises(TypeError, cmp, a, b) - - # In py3k, this works! - self.assertRaises(TypeError, cmp, a, a) - - self.assertRaises(TypeError, cmp, a, 12) - self.assertRaises(TypeError, cmp, "abc", a) - #============================================================================== class TestUpdateOps(unittest.TestCase): |