mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Remove extra copy of test_key_with_exception that somehow appeared
during a CVS merge.
This commit is contained in:
parent
1df0f654e8
commit
9da1efb5ae
1 changed files with 0 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue