#NEWLINE# def test_instance_state_scalar_attr_hist( self ) : #NEWLINE# #INDENT# User = self . classes . User #NEWLINE# u1 = User ( name = 'ed' ) #NEWLINE# sess = Session ( ) #NEWLINE# sess . add ( u1 ) #NEWLINE# sess . commit ( ) #NEWLINE# assert ( 'name' not in u1 . __dict__ ) #NEWLINE# insp = inspect ( u1 ) #NEWLINE# hist = insp . attrs . name . history #NEWLINE# eq_ ( hist . unchanged , None ) #NEWLINE# assert ( 'name' not in u1 . __dict__ )