| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | SF patch #667730: More DictMixin | Raymond Hettinger | 2003-03-09 | 1 | -0/+17 |
| | | | | | | | | | * Adds missing pop() methods to weakref.py * Expands test suite to broaden coverage of objects with a mapping interface. Contributed by Sebastien Keim. | ||||
| * | Standardize behavior: no docstrings in test functions. Also use | Guido van Rossum | 2002-08-22 | 1 | -6/+4 |
| | | | | | unittest.makeSuite() rather than loader.loadTestsFromTestCase(). | ||||
| * | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | ||||
| * | SF patch 564549 (Erik Andersén). | Guido van Rossum | 2002-06-10 | 1 | -0/+11 |
| | | | | | | | | The WeakKeyDictionary constructor didn't work when a dict arg was given. Fixed by moving a line. Also adding a unit test. Bugfix candidate. | ||||
| * | Improve coverage of Objects/weakrefobject.c. | Fred Drake | 2002-04-11 | 1 | -0/+16 |
| | | |||||
| * | Add some additional tests that check more proxy behaviors. | Fred Drake | 2001-12-19 | 1 | -0/+18 |
| | | |||||
| * | Regression test for SF bug #478534 -- exceptions could "leak" into a weakref | Fred Drake | 2001-12-10 | 1 | -0/+25 |
| | | | | | callback. | ||||
| * | Add a regression test for SF bug #478536: If a value cannot be weakly | Fred Drake | 2001-11-06 | 1 | -1/+5 |
| | | | | | | referenced, WeakKeyDictionary.has_key() should return 0 instead of raising TypeError. | ||||
| * | Add a test for calling a weakref proxy with a dictionary of keyword args. | Fred Drake | 2001-10-18 | 1 | -0/+3 |
| | | |||||
| * | Make sure we do not core dump when using proxies with the binary slot | Fred Drake | 2001-10-18 | 1 | -0/+8 |
| | | | | | handlers. This was fixed in Objects/weakrefobject.c 1.2. | ||||
| * | Change the PyUnit-based tests to use the test_main() approach. This | Fred Drake | 2001-09-20 | 1 | -3/+11 |
| | | | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves. | ||||
| * | Added tests for key deletion for both Weak*Dictionary flavors. | Fred Drake | 2001-09-06 | 1 | -0/+22 |
| | | | | | This covers regression on SF bug #458860. | ||||
| * | Make sure that WeakValueDictionary[] raises KeyError instead of TypeError | Fred Drake | 2001-08-03 | 1 | -0/+5 |
| | | | | | for keys that are not in the dictionary. | ||||
| * | Extend the weakref test suite to cover the complete mapping interface for | Fred Drake | 2001-05-10 | 1 | -4/+61 |
| | | | | | | | both weakref.Weak*Dictionary classes. This closes SF bug #416480. | ||||
| * | Added tests for Weak*Dictionary iterator support. | Fred Drake | 2001-05-02 | 1 | -10/+54 |
| | | | | | Refactored some object initialization to be more reusable. | ||||
| * | Add a test case for Weak*Dictionary.update() that would have caught a | Fred Drake | 2001-04-16 | 1 | -0/+25 |
| | | | | | recently reported bug; also exposed some other bugs in the implementation. | ||||
| * | Added regression test for SF bug #415660 (failure to invalidate all | Fred Drake | 2001-04-13 | 1 | -5/+24 |
| | | | | | | | references to an object before calling registered callbacks). Change last uses of verify() to self.assert_(). | ||||
| * | Use the WeakKeyDictionary and WeakValueDictionary classes directly | Fred Drake | 2001-04-10 | 1 | -2/+2 |
| | | | | | instead of using the mapping() function. | ||||
| * | Convert the weakref test suite to PyUNIT, and add tests that exercise weak | Fred Drake | 2001-03-23 | 1 | -236/+252 |
| | | | | | references on function objects and both bound and unbound methods. | ||||
| * | Add tests for the .copy() methods of both weak dictionary classes. | Fred Drake | 2001-03-01 | 1 | -1/+15 |
| | | |||||
| * | Patch #403985: Add support for weak-keyed dictionaries | Martin v. Löwis | 2001-02-27 | 1 | -0/+18 |
| | | |||||
| * | PEP 205, Weak References -- initial checkin. | Fred Drake | 2001-02-01 | 1 | -0/+218 |
