@@ -358,7 +358,7 @@ def test_bitwise_and(
358358 if not right_is_scalar :
359359 # TODO: generate indices without broadcasting arrays (see test_equal comment)
360360 shape = broadcast_shapes (left .shape , right .shape )
361- ph .assert_shape (func_name , res .shape , shape , out_name = f"{ res_name } .shape" )
361+ ph .assert_shape (func_name , res .shape , shape , repr_name = f"{ res_name } .shape" )
362362 _left = xp .broadcast_to (left , shape )
363363 _right = xp .broadcast_to (right , shape )
364364
@@ -409,7 +409,7 @@ def test_bitwise_left_shift(
409409 # TODO: generate indices without broadcasting arrays (see test_equal comment)
410410 shape = broadcast_shapes (left .shape , right .shape )
411411 ph .assert_shape (
412- "bitwise_left_shift" , res .shape , shape , out_name = f"{ res_name } .shape"
412+ "bitwise_left_shift" , res .shape , shape , repr_name = f"{ res_name } .shape"
413413 )
414414 _left = xp .broadcast_to (left , shape )
415415 _right = xp .broadcast_to (right , shape )
@@ -477,7 +477,7 @@ def test_bitwise_or(
477477 if not right_is_scalar :
478478 # TODO: generate indices without broadcasting arrays (see test_equal comment)
479479 shape = broadcast_shapes (left .shape , right .shape )
480- ph .assert_shape ("bitwise_or" , res .shape , shape , out_name = f"{ res_name } .shape" )
480+ ph .assert_shape ("bitwise_or" , res .shape , shape , repr_name = f"{ res_name } .shape" )
481481 _left = xp .broadcast_to (left , shape )
482482 _right = xp .broadcast_to (right , shape )
483483
@@ -528,7 +528,7 @@ def test_bitwise_right_shift(
528528 # TODO: generate indices without broadcasting arrays (see test_equal comment)
529529 shape = broadcast_shapes (left .shape , right .shape )
530530 ph .assert_shape (
531- "bitwise_right_shift" , res .shape , shape , out_name = f"{ res_name } .shape"
531+ "bitwise_right_shift" , res .shape , shape , repr_name = f"{ res_name } .shape"
532532 )
533533 _left = xp .broadcast_to (left , shape )
534534 _right = xp .broadcast_to (right , shape )
@@ -568,7 +568,7 @@ def test_bitwise_xor(
568568 if not right_is_scalar :
569569 # TODO: generate indices without broadcasting arrays (see test_equal comment)
570570 shape = broadcast_shapes (left .shape , right .shape )
571- ph .assert_shape ("bitwise_xor" , res .shape , shape , out_name = f"{ res_name } .shape" )
571+ ph .assert_shape ("bitwise_xor" , res .shape , shape , repr_name = f"{ res_name } .shape" )
572572 _left = xp .broadcast_to (left , shape )
573573 _right = xp .broadcast_to (right , shape )
574574
0 commit comments