Commit 9da1efb5 authored by Michael W. Hudson's avatar Michael W. Hudson

Remove extra copy of test_key_with_exception that somehow appeared

during a CVS merge.
parent 1df0f654
......@@ -231,13 +231,6 @@ class TestDecorateSortUndecorate(unittest.TestCase):
## .sort() and so the list protection gimmicks are out of
## date (this cost some brain cells to figure out...).
def test_key_with_exception(self):
# Verify that the wrapper has been removed
data = range(-2,2)
dup = data[:]
self.assertRaises(ZeroDivisionError, data.sort, None, lambda x: 1/x)
self.assertEqual(data, dup)
def test_reverse(self):
data = range(100)
random.shuffle(data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment