#13531: merge with 3.2.

This commit is contained in:
Ezio Melotti 2011-12-08 00:03:59 +02:00
commit 96e76775bc

View file

@ -172,6 +172,9 @@ class TestDefaultDict(unittest.TestCase):
finally:
os.remove(tfn)
def test_callable_arg(self):
self.assertRaises(TypeError, defaultdict, {})
def test_pickleing(self):
d = defaultdict(int)
d[1]