#NEWLINE# def test_pop_existing( self ) : #NEWLINE# #INDENT# ( A , B ) = ( B . A , self . B ) #NEWLINE# a1 = A ( ) #NEWLINE# coll = a1 . bs #NEWLINE# a1 . bs . append ( B ( ) ) #NEWLINE# state = attributes . instance_state ( a1 ) #NEWLINE# state . _reset ( state . dict , 'bs' ) #NEWLINE# assert_raises ( Warning , coll . append , B ( ) )