#NEWLINE# def testCanInstantiateAlias( self ) : #NEWLINE# #INDENT# scanner = Scanner ( 'w' ) #NEWLINE# tokens = list ( scanner . scan ( ) ) #NEWLINE# params = { #NEWLINE# #INDENT# '++' : '' , #NEWLINE# 'file_name' : '' , #NEWLINE# '>>' : False , #NEWLINE# 'cmd' : '' , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertEqual ( [ TokenCommandWrite ( scanner ) , TokenEof ( ) ] , tokens )