def tcase_parse_descr(tcase):
descr_short = "<STR_LIT>"<EOL>descr_long = "<STR_LIT>"<EOL>try:<EOL><INDENT>comment = tcase_comment(tcase)<EOL><DEDENT>except (IOError, OSError, ValueError) as exc:<EOL><INDENT>comment = []<EOL>cij.err("<STR_LIT>" % (exc, tcase))<EOL><DEDENT>comment = [l for l in comment if l.strip()]     <EOL>for line_number, line in enumerate(comment):<EOL><INDENT>if line.startswith("<STR_LIT:#>"):<EOL><INDENT>comment[line_number] = line[<NUM_LIT:1>:]<EOL><DEDENT><DEDENT>if comment:<EOL><INDENT>descr_short = comment[<NUM_LIT:0>]<EOL><DEDENT>if len(comment) > <NUM_LIT:1>:<EOL><INDENT>descr_long = "<STR_LIT:\n>".join(comment[<NUM_LIT:1>:])<EOL><DEDENT>return descr_short, descr_long<EOL>
Parse descriptions from the the given tcase