#NEWLINE# def test_mutated_post_copy( self ) : #NEWLINE# #INDENT# a = { #NEWLINE# #INDENT# 'a' : 'b' , #NEWLINE# #UNINDENT# } #NEWLINE# a_2 = misc . safe_copy_dict ( self ) #NEWLINE# a [ 'a' ] = 'c' #NEWLINE# self . assertEqual ( 'b' , a_2 [ 'a' ] ) #NEWLINE# self . assertEqual ( 'c' , a [ 'a' ] )