[Python-checkins] cpython (merge 3.3 -> default): #19166: merge with 3.3.
ezio.melotti
python-checkins at python.org
Sat Oct 5 02:14:35 CEST 2013
http://hg.python.org/cpython/rev/16a88d026571
changeset: 85964:16a88d026571
parent: 85961:50e0ed353c7f
parent: 85963:33bbc60705e8
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Sat Oct 05 03:14:13 2013 +0300
summary:
#19166: merge with 3.3.
files:
Lib/test/test_dict.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_dict.py b/Lib/test/test_dict.py
--- a/Lib/test/test_dict.py
+++ b/Lib/test/test_dict.py
@@ -45,6 +45,9 @@
self.assertEqual(set(d.keys()), set())
d = {'a': 1, 'b': 2}
k = d.keys()
+ self.assertEqual(set(k), {'a', 'b'})
+ self.assertIn('a', k)
+ self.assertIn('b', k)
self.assertIn('a', d)
self.assertIn('b', d)
self.assertRaises(TypeError, d.keys, None)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list