@@ -358,7 +358,7 @@ def test_bitwise_and(
358
358
if not right_is_scalar :
359
359
# TODO: generate indices without broadcasting arrays (see test_equal comment)
360
360
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" )
362
362
_left = xp .broadcast_to (left , shape )
363
363
_right = xp .broadcast_to (right , shape )
364
364
@@ -409,7 +409,7 @@ def test_bitwise_left_shift(
409
409
# TODO: generate indices without broadcasting arrays (see test_equal comment)
410
410
shape = broadcast_shapes (left .shape , right .shape )
411
411
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"
413
413
)
414
414
_left = xp .broadcast_to (left , shape )
415
415
_right = xp .broadcast_to (right , shape )
@@ -477,7 +477,7 @@ def test_bitwise_or(
477
477
if not right_is_scalar :
478
478
# TODO: generate indices without broadcasting arrays (see test_equal comment)
479
479
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" )
481
481
_left = xp .broadcast_to (left , shape )
482
482
_right = xp .broadcast_to (right , shape )
483
483
@@ -528,7 +528,7 @@ def test_bitwise_right_shift(
528
528
# TODO: generate indices without broadcasting arrays (see test_equal comment)
529
529
shape = broadcast_shapes (left .shape , right .shape )
530
530
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"
532
532
)
533
533
_left = xp .broadcast_to (left , shape )
534
534
_right = xp .broadcast_to (right , shape )
@@ -568,7 +568,7 @@ def test_bitwise_xor(
568
568
if not right_is_scalar :
569
569
# TODO: generate indices without broadcasting arrays (see test_equal comment)
570
570
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" )
572
572
_left = xp .broadcast_to (left , shape )
573
573
_right = xp .broadcast_to (right , shape )
574
574
0 commit comments