diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-11-01 17:52:57 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-11-01 17:52:57 (GMT) |
commit | 3b87ccad91fd0cac3b7db2aadffe403878900d63 (patch) | |
tree | 189de10a279fbb3b371c586ee3395d567ee5a968 /Lib/test/test_dict.py | |
parent | ea13d9d86bf62c6f1d2ba0cc7cc7f9a7c0683e47 (diff) | |
download | cpython-3b87ccad91fd0cac3b7db2aadffe403878900d63.zip cpython-3b87ccad91fd0cac3b7db2aadffe403878900d63.tar.gz cpython-3b87ccad91fd0cac3b7db2aadffe403878900d63.tar.bz2 |
Reverted inadvertent change from r86095
Diffstat (limited to 'Lib/test/test_dict.py')
-rw-r--r-- | Lib/test/test_dict.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_dict.py b/Lib/test/test_dict.py index 055bfd8..818c99e 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 |