#NEWLINE# def test_traverse_recursive( traverse ) : #NEWLINE# #INDENT# a = { #NEWLINE# #INDENT# 'x' : [ ] , #NEWLINE# #UNINDENT# } #NEWLINE# a [ 'x' ] . append ( [ a ] ) #NEWLINE# with pytest . raises ( ValueError ) : #NEWLINE# #INDENT# traverse ( a )