#NEWLINE# def testCanConsume( self ) : #NEWLINE# #INDENT# l = parsing . Lexer ( 'foo' ) #NEWLINE# l . consume ( ) #NEWLINE# self . assertEqual ( l . c , 'o' ) #NEWLINE# l . consume ( ) #NEWLINE# self . assertEqual ( l . c , 'o' ) #NEWLINE# l . consume ( ) #NEWLINE# self . assertEqual ( l . c , parsing . EOF )