Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0fefc5

Browse files
committed
Convert the weakref test suite to PyUNIT, and add tests that exercise weak
references on function objects and both bound and unbound methods.
1 parent 84a5934 commit b0fefc5

2 files changed

Lines changed: 252 additions & 260 deletions

File tree

Lib/test/output/test_weakref

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1 @@
11
test_weakref
2-
Basic Weak References
3-
-- Liveness and referent identity
4-
-- Reference objects with callbacks
5-
-- Proxy objects with callbacks
6-
-- Re-use of weak reference objects
7-
reference objects
8-
proxy objects
9-
clearing ref 2
10-
clearing ref 1
11-
clearing ref 2
12-
clearing ref 1
13-
14-
Weak Valued Dictionaries
15-
objects are stored in weak dict
16-
weak dict test complete
17-
18-
Weak Keyed Dictionaries
19-
objects are stored in weak dict
20-
weak key dict test complete
21-
22-
Non-callable Proxy References
23-
XXX -- tests not written!
24-
25-
Callable Proxy References

0 commit comments

Comments
 (0)