code: def test_shape(self, shape):
      for xp in (numpy, cupy):
          a = testing.shaped_arange(shape, xp)
          assert cupy.shape(a) == shape
  
imports: import numpy
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestShape obj's underlying member method code with example usage: obj.test_shape(shape) without return types