1+ from __future__ import annotations
2+
13import copy
24import unittest
35
@@ -649,21 +651,23 @@ def test_size_zero_dim_array_with_axis(self):
649651 xp .size (x , 0 )
650652
651653
652- @pytest .mark .skip ("python interface is not supported" )
653654class TestPythonInterface (unittest .TestCase ):
654655
656+ @pytest .mark .skip ("__bytes__ is not supported" )
655657 @testing .for_all_dtypes ()
656658 @testing .numpy_cupy_equal ()
657659 def test_bytes_tobytes (self , xp , dtype ):
658660 x = testing .shaped_arange ((3 , 4 , 5 ), xp , dtype )
659661 return bytes (x )
660662
663+ @pytest .mark .skip ("__bytes__ is not supported" )
661664 @testing .for_all_dtypes ()
662665 @testing .numpy_cupy_equal ()
663666 def test_bytes_tobytes_empty (self , xp , dtype ):
664667 x = xp .empty ((0 ,), dtype )
665668 return bytes (x )
666669
670+ @pytest .mark .skip ("__bytes__ is not supported" )
667671 @testing .for_all_dtypes ()
668672 @testing .numpy_cupy_equal ()
669673 def test_bytes_tobytes_empty2 (self , xp , dtype ):
@@ -674,6 +678,7 @@ def test_bytes_tobytes_empty2(self, xp, dtype):
674678 # if scalar is of an integer dtype including bool_. It's spec is
675679 # bytes(int): bytes object of size given by the parameter initialized with
676680 # null bytes.
681+ @pytest .mark .skip ("__bytes__ is not supported" )
677682 @testing .for_float_dtypes ()
678683 @testing .numpy_cupy_equal ()
679684 def test_bytes_tobytes_scalar_array (self , xp , dtype ):
0 commit comments