Fred Drake
|
2e2be3760c
|
Change the PyUnit-based tests to use the test_main() approach. This
allows using the tests with unittest.py as a script. The tests will
still run when run as a script themselves.
|
2001-09-20 21:33:42 +00:00 |
Fred Drake
|
ccc7562315
|
Added tests for key deletion for both Weak*Dictionary flavors.
This covers regression on SF bug #458860.
|
2001-09-06 14:52:39 +00:00 |
Fred Drake
|
4fd06e0170
|
Make sure that WeakValueDictionary[] raises KeyError instead of TypeError
for keys that are not in the dictionary.
|
2001-08-03 04:11:27 +00:00 |
Fred Drake
|
aaa48ff5c9
|
Extend the weakref test suite to cover the complete mapping interface for
both weakref.Weak*Dictionary classes.
This closes SF bug #416480.
|
2001-05-10 17:16:38 +00:00 |
Fred Drake
|
0e540c391f
|
Added tests for Weak*Dictionary iterator support.
Refactored some object initialization to be more reusable.
|
2001-05-02 05:44:22 +00:00 |
Fred Drake
|
a0a4ab1772
|
Add a test case for Weak*Dictionary.update() that would have caught a
recently reported bug; also exposed some other bugs in the implementation.
|
2001-04-16 17:37:27 +00:00 |
Fred Drake
|
705088e65f
|
Added regression test for SF bug #415660 (failure to invalidate all
references to an object before calling registered callbacks).
Change last uses of verify() to self.assert_().
|
2001-04-13 17:18:15 +00:00 |
Fred Drake
|
bf43691ccb
|
Use the WeakKeyDictionary and WeakValueDictionary classes directly
instead of using the mapping() function.
|
2001-04-10 19:09:35 +00:00 |
Fred Drake
|
b0fefc5121
|
Convert the weakref test suite to PyUNIT, and add tests that exercise weak
references on function objects and both bound and unbound methods.
|
2001-03-23 04:22:45 +00:00 |
Fred Drake
|
5c015344a6
|
Add tests for the .copy() methods of both weak dictionary classes.
|
2001-03-01 03:06:53 +00:00 |
Martin v. Löwis
|
5e1633365d
|
Patch #403985: Add support for weak-keyed dictionaries
|
2001-02-27 18:36:56 +00:00 |
Fred Drake
|
41deb1efc2
|
PEP 205, Weak References -- initial checkin.
|
2001-02-01 05:27:45 +00:00 |