def _find_benchmarks(self):
def is_bench_method(attrname, prefix="<STR_LIT>"):<EOL><INDENT>return attrname.startswith(prefix) and hasattr(getattr(self.__class__, attrname), '<STR_LIT>')<EOL><DEDENT>return list(filter(is_bench_method, dir(self.__class__)))<EOL>
Return a suite of all tests cases contained in testCaseClass