def break_up_import(line):
assert '<STR_LIT:\\>' not in line<EOL>assert '<STR_LIT:(>' not in line<EOL>assert '<STR_LIT:)>' not in line<EOL>assert '<STR_LIT:;>' not in line<EOL>assert '<STR_LIT:#>' not in line<EOL>assert not line.lstrip().startswith('<STR_LIT>')<EOL>newline = get_line_ending(line)<EOL>if not newline:<EOL><INDENT>return line<EOL><DEDENT>(indentation, imports) = re.split(pattern=r'<STR_LIT>',<EOL>string=line, maxsplit=<NUM_LIT:1>)<EOL>indentation += '<STR_LIT>'<EOL>assert newline<EOL>return '<STR_LIT>'.join([indentation + i.strip() + newline<EOL>for i in sorted(imports.split('<STR_LIT:U+002C>'))])<EOL>
Return line with imports on separate lines.