#13531: merge with 3.2.
This commit is contained in:
commit
96e76775bc
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue