From: Alexander Belopolsky Date: Mon, 1 Nov 2010 17:52:57 +0000 (+0000) Subject: Reverted inadvertent change from r86095 X-Git-Tag: v3.2a4~192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b87ccad91fd0cac3b7db2aadffe403878900d63;p=python Reverted inadvertent change from r86095 --- diff --git a/Lib/test/test_dict.py b/Lib/test/test_dict.py index 055bfd8d8b..818c99ed3b 100644 --- a/Lib/test/test_dict.py +++ b/Lib/test/test_dict.py @@ -329,19 +329,11 @@ class DictTest(unittest.TestCase): k, v = 'abc', 'def' d[k] = v self.assertRaises(KeyError, d.pop, 'ghi') - try: - d.pop('ghi') - except KeyError as e: - self.assertEquals(e.args[0], 'ghi') self.assertEqual(d.pop(k), v) self.assertEqual(len(d), 0) self.assertRaises(KeyError, d.pop, k) - try: - d.pop(k) - except KeyError as e: - self.assertEquals(e.args[0], k) self.assertEqual(d.pop(k, v), v) d[k] = v