collections.defaultdict: Fix test.

pull/118/head
Paul Sokolovsky 2014-05-23 01:16:30 +03:00
rodzic 631ba9a419
commit 08e62ebfc0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
from collections import defaultdict from collections import defaultdict
d = defaultdict(lambda:42) d = defaultdict.defaultdict(lambda:42)
assert d[1] == 42 assert d[1] == 42
d[2] = 3 d[2] = 3
assert d[2] == 3 assert d[2] == 3