human
Solve the following python programming problem given the following code:
def getTestCaseNames(self, testCaseClass) : 
    'Return a sorted sequence of method names found within testCaseClass
        ' 
    def isTestMethod(attrname, testCaseClass = testCaseClass, prefix = self.testMethodPrefix) : 
        return (attrname.startswith (prefix) and callable (getattr (testCaseClass, attrname))) 
testFnNames = list (filter (self, dir (testCaseClass))) 
    if self.sortTestMethodsUsing : 
        testFnNames.sort (key = functools.cmp_to_key (self.sortTestMethodsUsing)) 
return testFnNames 

    
    

    Fix the buggy line: testFnNames = list (filter (self, dir (testCaseClass)))
assistant
#Here is Python program to fix the buggy line: testFnNames = list (filter (self, dir (testCaseClass)))
.

testFnNames = list (filter (def isTestMethod(, dir (testCaseClass)))