@@ -653,21 +653,18 @@ def test_size_zero_dim_array_with_axis(self):
653653
654654class TestPythonInterface (unittest .TestCase ):
655655
656- @pytest .mark .skip ("__bytes__ is not supported" )
657656 @testing .for_all_dtypes ()
658657 @testing .numpy_cupy_equal ()
659658 def test_bytes_tobytes (self , xp , dtype ):
660659 x = testing .shaped_arange ((3 , 4 , 5 ), xp , dtype )
661660 return bytes (x )
662661
663- @pytest .mark .skip ("__bytes__ is not supported" )
664662 @testing .for_all_dtypes ()
665663 @testing .numpy_cupy_equal ()
666664 def test_bytes_tobytes_empty (self , xp , dtype ):
667665 x = xp .empty ((0 ,), dtype )
668666 return bytes (x )
669667
670- @pytest .mark .skip ("__bytes__ is not supported" )
671668 @testing .for_all_dtypes ()
672669 @testing .numpy_cupy_equal ()
673670 def test_bytes_tobytes_empty2 (self , xp , dtype ):
@@ -678,7 +675,6 @@ def test_bytes_tobytes_empty2(self, xp, dtype):
678675 # if scalar is of an integer dtype including bool_. It's spec is
679676 # bytes(int): bytes object of size given by the parameter initialized with
680677 # null bytes.
681- @pytest .mark .skip ("__bytes__ is not supported" )
682678 @testing .for_float_dtypes ()
683679 @testing .numpy_cupy_equal ()
684680 def test_bytes_tobytes_scalar_array (self , xp , dtype ):
0 commit comments