code: def raises_size_not_allowed(self):
      return pytest.raises(ValueError, match=r"^Specified \'size\' can")
  
imports: import unittest
  import numpy
  import pytest
  import cupy
  from cupy import testing
  from cupy.cuda import runtime
  from cupy.cuda.texture import ChannelFormatDescriptor, CUDAarray, ResourceDescriptor, TextureDescriptor, TextureObject
label_desc: Use image node_id 2 for calling the TestElementwiseKernelSize obj's underlying member method code with example usage: obj.raises_size_not_allowed() and returns: pytest