def test00(self):
    'Checking for uncollectable garbage.'
    garbageLen = len(gc.garbage)
    if (garbageLen == 0):
        return
    if common.verbose:
        classCount = {}
        for obj in gc.garbage:
            objClass = obj.__class__.__name__
            if (objClass in classCount):
                classCount[objClass] += 1
            else:
                classCount[objClass] = 1
        incidence = [('``%s``: %d' % (cls, cnt)) for (cls, cnt) in classCount.items()]
        print('Class incidence:', ', '.join(incidence))
    self.fail(('Possible leak: %d uncollected objects.' % garbageLen))
Checking for uncollectable garbage.
def test00(self):
    
    garbageLen = len(gc.garbage)
    if (garbageLen == 0):
        return
    if common.verbose:
        classCount = {}
        for obj in gc.garbage:
            objClass = obj.__class__.__name__
            if (objClass in classCount):
                classCount[objClass] += 1
            else:
                classCount[objClass] = 1
        incidence = [('``%s``: %d' % (cls, cnt)) for (cls, cnt) in classCount.items()]
        print('Class incidence:', ', '.join(incidence))
    self.fail(('Possible leak: %d uncollected objects.' % garbageLen))