summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dictviews.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30144: Import collections ABC from collections.abc rather than ↵Serhiy Storchaka2017-04-241-18/+18
| | | | collections. (#1263)
* mergeRaymond Hettinger2016-09-191-0/+26
|
* merge 3.5 (closes #26478)Benjamin Peterson2016-03-041-0/+4
|\
| * merge 3.4 (closes #26478)Benjamin Peterson2016-03-041-0/+4
| |\
| | * properly use the ObjArgs variant of CallMethod in dictview binary operations ↵Benjamin Peterson2016-03-041-0/+4
| | | | | | | | | | | | (closes #26478)
* | | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ nowSerhiy Storchaka2015-11-121-0/+18
|\ \ \ | |/ / | | | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types.
| * | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ nowSerhiy Storchaka2015-11-121-0/+18
| |\ \ | | |/ | | | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types.
| | * Issue #22995: Default implementation of __reduce__ and __reduce_ex__ nowSerhiy Storchaka2015-11-121-0/+18
| | | | | | | | | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types.
* | | Merge 3.5 (Issue #19235)Yury Selivanov2015-07-031-1/+1
|\ \ \ | |/ /
| * | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-031-1/+1
| | |
| * | Reverting my previous commit.Yury Selivanov2015-05-301-22/+0
|/ / | | | | | | Something went horribly wrong when I was doing `hg rebase`.
* | Issue #24286: Forward port dict view abstract base class tests.Raymond Hettinger2015-05-261-0/+22
| |
* | Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-131-5/+1
|/ | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run.
* #18357: add tests for dictview set difference. Patch by Fraser Tweedale.Ezio Melotti2013-08-081-0/+14
|
* add recursive repr testBenjamin Peterson2013-05-201-0/+5
|
* Issue #9212: Added the missing isdisjoint method to the dict_keys andDaniel Stutzbach2010-09-021-0/+35
| | | | | dict_items views. The method is required by the collections.Set ABC, which the views register as supporting.
* Forward port unit tests for set operation and repr.Alexandre Vassalotti2010-05-041-0/+76
| | | | Patch by Alexander Belopolsky.
* use assert[Not]In where appropriateBenjamin Peterson2010-01-191-11/+11
| | | | A patch from Dave Malcolm.
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-11/+11
|
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-2/+2
|
* Make dict.keys() and dict.items() comparable to sets, using == and !=.Guido van Rossum2007-02-121-2/+28
| | | | | (PEP 3106 requires subset comparisons too, those will come later if someone really wants them. :-)
* - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;Guido van Rossum2007-02-111-6/+6
| | | | | | | | | | and .keys(), .items(), .values() return dict views. The dict views aren't fully functional yet; in particular, they can't be compared to sets yet. but they are useful as "iterator wells". There are still 27 failing unit tests; I expect that many of these have fairly trivial fixes, but there are so many, I could use help.
* Implement __contains__ for dict_keys and dict_items.Guido van Rossum2007-02-101-0/+22
| | | | | (Not for dict_values, where it can't be done faster than the default implementation which just iterates the elements.)
* Endow dict views with a proper length method.Guido van Rossum2007-02-101-0/+3
|
* Very preliminary work on dict views.Guido van Rossum2007-02-101-0/+25