#NEWLINE# def testToLinesEchoWriterLastCharIsntNewline( self ) : #NEWLINE# #INDENT# result = lua . Lua . from_lines ( ( VALID_LUA_SHORT_LINES + [ 'break' ] ) , 4 ) #NEWLINE# lines = list ( result . to_lines ( ) ) #NEWLINE# self . assertEqual ( result , ( VALID_LUA_SHORT_LINES + [ 'break' ] ) )