#NEWLINE# def test_space_no_space( self ) : #NEWLINE# #INDENT# 'Test whitespace-only lines are handled correctly.' #NEWLINE# ws = ( ' ' * 4 ) #NEWLINE# data = ( 'Description:\n    a few words\n%s\n    and some more\n\n    and still more.\n\n' % ws ) #NEWLINE# ref_str = 'DESCRIPTION_ID COLON INDENT MULTILINES_STRING DEDENT' #NEWLINE# self . _test ( self , ref_str ) #NEWLINE# tokens = self . _get_tokens ( data ) #NEWLINE# string = tokens [ ( - 2 ) ] . value #NEWLINE# ref_str = 'a few words\n\nand some more\n\nand still more.\n' #NEWLINE# self . assertMultiLineEqual ( string , ref_str )