Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Reference leak detecting unittest module for Python 2.6
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


Unittest module that reports reference leaks

This module is a replacement for the model in Python 2.6. This
differs from the standard Python 2.6 unittest in that it checks reference
counts going into and coming out of each test. If the reference count for a
test is not neutral upon cleanup of that test, an error is reported for that
test with the number of references leaked. This is useful for finding reference
leaks in well-tested c extensions.

This module came to me via Ilan Schnell (
Something went wrong with that request. Please try again.