Commit 45683546 authored by Fred Drake's avatar Fred Drake

Convert the weakref test suite to PyUNIT, and add tests that exercise weak

references on function objects and both bound and unbound methods.
parent 7c34cae7
test_weakref
Basic Weak References
-- Liveness and referent identity
-- Reference objects with callbacks
-- Proxy objects with callbacks
-- Re-use of weak reference objects
reference objects
proxy objects
clearing ref 2
clearing ref 1
clearing ref 2
clearing ref 1
Weak Valued Dictionaries
objects are stored in weak dict
weak dict test complete
Weak Keyed Dictionaries
objects are stored in weak dict
weak key dict test complete
Non-callable Proxy References
XXX -- tests not written!
Callable Proxy References
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment