#NEWLINE# def test_circular_dict( self ) : #NEWLINE# #INDENT# dct = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# dct [ 'a' ] = self #NEWLINE# self . assertRaises ( ValueError , json . dumps , dct )