summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_weakset.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-241-6/+1
|
* Issue #23277: Remove unused sys and os importsBerker Peksag2016-04-241-2/+0
| | | | Patch by Jon Dufresne.
* 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.
* Issue #20006: Fix sporadic failures in test_weakset.Antoine Pitrou2013-12-171-1/+6
|
* Revert misled test change in f189da5bda26.Antoine Pitrou2013-12-171-1/+0
|
* add test for inequalityBenjamin Peterson2013-05-221-0/+6
|
* Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.Meador Inge2012-03-051-11/+23
|
* Fix some set algebra methods of WeakSet objects.Antoine Pitrou2012-03-041-4/+18
|
* Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, ↵Antoine Pitrou2012-03-011-0/+47
| | | | | | | WeakValueDictionary) to return a better approximation when some objects are dead or dying. Moreover, the implementation is now O(1) rather than O(n). Thanks to Yury Selivanov for reporting.
* Delete the iterator, which could accidentally keep a temporary reference to ↵Antoine Pitrou2012-02-201-0/+1
| | | | the yielded element.
* #10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary ↵Georg Brandl2010-12-031-1/+2
| | | | does.
* use assert[Not]In where appropriateEzio Melotti2010-01-231-3/+3
|
* use assert[Not]In where appropriateBenjamin Peterson2010-01-191-23/+23
| | | | A patch from Dave Malcolm.
* Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust againstAntoine Pitrou2010-01-081-0/+50
| | | | the destruction of weakref'ed objects while iterating.
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-40/+40
|
* Issue 5964: Fixed WeakSet __eq__ comparison to handle non-WeakSet objects.Robert Schuppenies2009-05-171-10/+13
|
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-2/+2
|
* Ignore test_c_api when checking for set methods. Thanks Brett!Georg Brandl2008-05-181-1/+1
|
* Better diagnostic.Georg Brandl2008-05-181-1/+2
|
* Add a test suite for WeakSet mostly derived from test_set and fix someGeorg Brandl2008-05-181-0/+311
issues in the weakset implementation discovered with it.