lsst.utils  16.0-17-g860de37
Public Member Functions | List of all members
lsst.utils.tests.MemoryTestCase Class Reference
Inheritance diagram for lsst.utils.tests.MemoryTestCase:

Public Member Functions

def setUp (self)
 
def tearDownClass (cls)
 
def testLeaks (self)
 
def testFileDescriptorLeaks (self)
 

Detailed Description

Check for memory leaks since memId0 was allocated

Definition at line 173 of file tests.py.

Member Function Documentation

◆ setUp()

def lsst.utils.tests.MemoryTestCase.setUp (   self)

Definition at line 176 of file tests.py.

◆ tearDownClass()

def lsst.utils.tests.MemoryTestCase.tearDownClass (   cls)
Reset the leak counter when the tests have been completed

Definition at line 180 of file tests.py.

◆ testFileDescriptorLeaks()

def lsst.utils.tests.MemoryTestCase.testFileDescriptorLeaks (   self)
Check if any file descriptors are open since init() called.

Definition at line 204 of file tests.py.

◆ testLeaks()

def lsst.utils.tests.MemoryTestCase.testLeaks (   self)
Check for memory leaks in the preceding tests

Definition at line 184 of file tests.py.


The documentation for this class was generated from the following file: