@@ -84,25 +84,25 @@ def test_int_int_args_support(test, device, dtype):
8484 else :
8585 with test .assertRaisesRegex (
8686 RuntimeError ,
87- rf"Couldn't find a function 'mul' compatible with " rf" the arguments '{ dtype .__name__ } , int'$" ,
87+ rf"Couldn't find a function 'mul' compatible with the arguments '{ dtype .__name__ } , int'$" ,
8888 ):
8989 wp .mul (dtype (value ), value )
9090
9191 with test .assertRaisesRegex (
9292 RuntimeError ,
93- rf"Couldn't find a function 'mul' compatible with " rf" the arguments '{ np_type .__name__ } , int'$" ,
93+ rf"Couldn't find a function 'mul' compatible with the arguments '{ np_type .__name__ } , int'$" ,
9494 ):
9595 wp .mul (nps (np_type , value ), value )
9696
9797 with test .assertRaisesRegex (
9898 RuntimeError ,
99- rf"Couldn't find a function 'mul' compatible with " rf" the arguments 'int, { dtype .__name__ } '$" ,
99+ rf"Couldn't find a function 'mul' compatible with the arguments 'int, { dtype .__name__ } '$" ,
100100 ):
101101 wp .mul (value , dtype (value ))
102102
103103 with test .assertRaisesRegex (
104104 RuntimeError ,
105- rf"Couldn't find a function 'mul' compatible with " rf" the arguments 'int, { np_type .__name__ } '$" ,
105+ rf"Couldn't find a function 'mul' compatible with the arguments 'int, { np_type .__name__ } '$" ,
106106 ):
107107 wp .mul (value , nps (np_type , value ))
108108
@@ -336,13 +336,13 @@ def test_mat_float_args_support(test, device, dtype):
336336
337337 with test .assertRaisesRegex (
338338 RuntimeError ,
339- rf"Couldn't find a function 'mul' compatible with " rf" the arguments 'tuple, { dtype .__name__ } '$" ,
339+ rf"Couldn't find a function 'mul' compatible with the arguments 'tuple, { dtype .__name__ } '$" ,
340340 ):
341341 wp .mul (a_values , dtype (b_value ))
342342
343343 with test .assertRaisesRegex (
344344 RuntimeError ,
345- rf"Couldn't find a function 'mul' compatible with " rf" the arguments 'tuple, { np_type .__name__ } '$" ,
345+ rf"Couldn't find a function 'mul' compatible with the arguments 'tuple, { np_type .__name__ } '$" ,
346346 ):
347347 wp .mul (a_values , nps (np_type , b_value ))
348348
@@ -504,13 +504,13 @@ def test_vec_float_args_support(test, device, dtype):
504504
505505 with test .assertRaisesRegex (
506506 RuntimeError ,
507- rf"Couldn't find a function 'mul' compatible with " rf" the arguments 'tuple, { dtype .__name__ } '$" ,
507+ rf"Couldn't find a function 'mul' compatible with the arguments 'tuple, { dtype .__name__ } '$" ,
508508 ):
509509 wp .mul (a_values , dtype (b_value ))
510510
511511 with test .assertRaisesRegex (
512512 RuntimeError ,
513- rf"Couldn't find a function 'mul' compatible with " rf" the arguments 'tuple, { np_type .__name__ } '$" ,
513+ rf"Couldn't find a function 'mul' compatible with the arguments 'tuple, { np_type .__name__ } '$" ,
514514 ):
515515 wp .mul (a_values , nps (np_type , b_value ))
516516
0 commit comments