summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sort.py
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2003-12-04 11:41:24 (GMT)
committerMichael W. Hudson <mwh@python.net>2003-12-04 11:41:24 (GMT)
commit9da1efb5aead6795e63ea0660308a674f9ef4f37 (patch)
tree71e1d13156af385fd23bb7d5f5b48bbe9df39226 /Lib/test/test_sort.py
parent1df0f654e845ef7c1252db10b88066691807be5b (diff)
downloadcpython-9da1efb5aead6795e63ea0660308a674f9ef4f37.zip
cpython-9da1efb5aead6795e63ea0660308a674f9ef4f37.tar.gz
cpython-9da1efb5aead6795e63ea0660308a674f9ef4f37.tar.bz2
Remove extra copy of test_key_with_exception that somehow appeared
during a CVS merge.
Diffstat (limited to 'Lib/test/test_sort.py')
-rw-r--r--Lib/test/test_sort.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_sort.py b/Lib/test/test_sort.py
index 74f3bb5..667c9ce 100644
--- a/Lib/test/test_sort.py
+++ b/Lib/test/test_sort.py
@@ -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)