def METHOD_NAME(self, test):
    doc_first_line = test.shortDescription()
    if self.descriptions and doc_first_line:
        return '\n'.join((str(test), doc_first_line))
    else:
        return str(test)