> So each test would check the amount of memory available, call the > function N times and then check the amount of memory available > afterwards. If the amount of memory before and after changes by a > certain amount then the test is failed.
Please take a look at the muppy package: http://pypi.python.org/pypi/muppy Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list