blob: 801ed9577a27033944660449c718ecce24322cf9 [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
5doesn't increase, the bug has been fixed.
6
7Here's an example interpreter session for test_gestalt which still leaks:
8
9>>> from test.leakers.test_gestalt import leak
10[24275 refs]
11>>> leak()
12[28936 refs]
13>>> leak()
14[28938 refs]
15>>> leak()
16[28940 refs]
17>>>
18