summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_defaultdict.py
Commit message (Collapse)AuthorAgeFilesLines
* use assert[Not]In where appropriateEzio Melotti2010-01-231-8/+8
|
* Issue 6637: defaultdict.copy() failed with an empty factory.Raymond Hettinger2009-08-041-0/+7
|
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-12/+12
|
* issue 2045: Infinite recursion when printing a subclass of defaultdict,Amaury Forgeot d'Arc2008-02-081-0/+23
| | | | | | if default_factory is set to a bound method. Will backport.
* Deprecate BaseException.message as per PEP 352.Brett Cannon2007-05-051-1/+1
|
* A test case for the defaultdict KeyError bug.Georg Brandl2007-03-061-0/+9
|
* Check for a common user error with defaultdict().Raymond Hettinger2007-02-071-3/+4
|
* Add test_main() methods. These three tests were never runGeorg Brandl2006-07-271-1/+5
| | | | | | by regrtest.py. We really need a simpler testing framework.
* - Patch 1433928:Guido van Rossum2006-02-251-0/+135
- The copy module now "copies" function objects (as atomic objects). - dict.__getitem__ now looks for a __missing__ hook before raising KeyError. - Added a new type, defaultdict, to the collections module. This uses the new __missing__ hook behavior added to dict (see above).