#NEWLINE# def test_stmt( self ) : #NEWLINE# #INDENT# src = 'a = f(x)' #NEWLINE# d = self . _def ( src , 0 ) #NEWLINE# assert ( d . name == 'a' ) #NEWLINE# assert d . is_definition ( ) #NEWLINE# d = self . _def ( src , 1 ) #NEWLINE# assert ( d . name == 'f' ) #NEWLINE# assert ( not d . is_definition ( ) ) #NEWLINE# d = self . _def ( src ) #NEWLINE# assert ( d . name == 'x' ) #NEWLINE# assert ( not d . is_definition ( ) )