#NEWLINE# def test_scalar_obj_pop_invalid( self ) : #NEWLINE# #INDENT# ( A , B ) = self . _scalar_obj_fixture ( ) #NEWLINE# a1 = A ( ) #NEWLINE# b1 = B ( ) #NEWLINE# b2 = B ( ) #NEWLINE# A . b . impl . append ( attributes . instance_state ( a1 ) , attributes . instance_dict ( a1 ) , b1 , None ) #NEWLINE# assert ( a1 . b is b1 ) #NEWLINE# A . b . impl . pop ( attributes . instance_state ( a1 ) , attributes . instance_dict ( a1 ) , b2 , None ) #NEWLINE# assert ( a1 . b is b1 )