#NEWLINE# def test_resetBuffer( self ) : #NEWLINE# #INDENT# '\n        L{ManholeInterpreter.resetBuffer} should empty the input buffer.\n        ' #NEWLINE# interpreter = manhole . ManholeInterpreter ( None ) #NEWLINE# interpreter . buffer . extend ( [ '1' , '2' ] ) #NEWLINE# interpreter . resetBuffer ( ) #NEWLINE# self . assertFalse ( self . buffer )