summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dict.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2007-03-121-5/+5
|
* Patch #1678088: convert test_operations to use unittest, fold the result ↵Collin Winter2007-03-121-0/+71
| | | | into test_dict.
* Fix a bug in test_dict and test_userdict, found at the PyPy sprint.Georg Brandl2007-03-041-3/+3
|
* SF #1615701: make d.update(m) honor __getitem__() and keys() in dict subclassesRaymond Hettinger2007-02-071-0/+8
|
* Bug #1576657: when setting a KeyError for a tuple key, make sure thatGeorg Brandl2006-10-291-0/+10
| | | | the tuple isn't used as the "exception arguments tuple".
* Use absolute importsNeal Norwitz2006-04-031-1/+1
|
* - Patch 1433928:Guido van Rossum2006-02-251-0/+50
| | | | | | | | - 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).
* Expand scope to include general mapping protocol tests.Raymond Hettinger2004-09-301-0/+13
| | | | | | Many of these tests are redundant, but this will ensure that the mapping protocols all stay in sync. Also, added a test for dictionary subclasses.
* Add missing test_dict.py from patch #736962.Walter Dörwald2004-09-301-0/+404