#NEWLINE# def test_init( self ) : #NEWLINE# #INDENT# t1 = formula . Term ( 'trivial' ) #NEWLINE# sqr = ( lambda x : ( x * x ) ) #NEWLINE# t2 = formula . Term ( 'not_so_trivial' , self , 'sqr' ) #NEWLINE# self . assertRaises ( ValueError , formula . Term , 'name' , termname = 0 )