

def extractTestCases(suites):
    testCases = flattenToTestCases(suites)
    sortedTestCases = sortedBy(testCases, (lambda x: x.id()))
    return [x for x in sortedTestCases if (not testCaseHasAttribute(testCases, 'disabled'))]

dataset/ETHPy150Open ufora/ufora/ufora/test/UnitTestCommon.py extractTestCases/VarMisuse@47/73 `x`->`testCases`