blob: 69ee35a8845a0d99045a3df053867fed0e0415e7 [file] [log] [blame]
Neal Norwitzedc8f132006-02-28 19:02:05 +00001This directory contains test cases that are known to leak references.
2The idea is that you can import these modules while in the interpreter
3and call the leak function repeatedly. This will only be helpful if
4the interpreter was built in debug mode. If the total ref count
Neal Norwitzcd8ca802006-02-28 20:40:50 +00005doesn't increase, the bug has been fixed and the file should be removed
6from the repository.
Neal Norwitzedc8f132006-02-28 19:02:05 +00007
8Here's an example interpreter session for test_gestalt which still leaks:
9
10>>> from test.leakers.test_gestalt import leak
11[24275 refs]
12>>> leak()
13[28936 refs]
14>>> leak()
15[28938 refs]
16>>> leak()
17[28940 refs]
18>>>
19