#NEWLINE# def test_set_match_data_wrong_type( self , space ) : #NEWLINE# #INDENT# with self . raises ( self , 'TypeError' ) : #NEWLINE# #INDENT# space . execute ( '$~ = 12' ) #NEWLINE# #UNINDENT# space . execute ( '$~ = nil' )