MemoryTestCase

class lsst.utils.tests.MemoryTestCase(methodName='runTest')

Bases: unittest.case.TestCase

Check for resource leaks.

Methods Summary

tearDownClass() Reset the leak counter when the tests have been completed
testFileDescriptorLeaks() Check if any file descriptors are open since init() called.

Methods Documentation

classmethod tearDownClass() → None

Reset the leak counter when the tests have been completed

testFileDescriptorLeaks() → None

Check if any file descriptors are open since init() called.