mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
#13531: merge with 3.2.
This commit is contained in:
commit
96e76775bc
1 changed files with 3 additions and 0 deletions
|
@ -172,6 +172,9 @@ class TestDefaultDict(unittest.TestCase):
|
||||||
finally:
|
finally:
|
||||||
os.remove(tfn)
|
os.remove(tfn)
|
||||||
|
|
||||||
|
def test_callable_arg(self):
|
||||||
|
self.assertRaises(TypeError, defaultdict, {})
|
||||||
|
|
||||||
def test_pickleing(self):
|
def test_pickleing(self):
|
||||||
d = defaultdict(int)
|
d = defaultdict(int)
|
||||||
d[1]
|
d[1]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue