#NEWLINE# @ dec . slow #NEWLINE# def test_new_fail( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# code = '\n                   py::object obj = 1;\n                   a.set_attr(obj,"hello");\n                   ' #NEWLINE# self . generic_new ( self , 'hello' ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass