From: Michael W. Hudson Date: Thu, 4 Dec 2003 11:41:24 +0000 (+0000) Subject: Remove extra copy of test_key_with_exception that somehow appeared X-Git-Tag: v2.4a1~1153 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9da1efb5aead6795e63ea0660308a674f9ef4f37;p=thirdparty%2FPython%2Fcpython.git Remove extra copy of test_key_with_exception that somehow appeared during a CVS merge. --- diff --git a/Lib/test/test_sort.py b/Lib/test/test_sort.py index 74f3bb565f6b..667c9cebda1e 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)