#NEWLINE# def test_persistent_dirty_to_expired( self ) : #NEWLINE# #INDENT# ( sess , u1 ) = self . _persistent_fixture ( ) #NEWLINE# u1 . name = 'edchanged' #NEWLINE# self . _assert_cycle ( sess ) #NEWLINE# self . _assert_modified ( u1 ) #NEWLINE# sess . expire ( u1 ) #NEWLINE# self . _assert_no_cycle ( u1 ) #NEWLINE# self . _assert_not_modified ( u1 )