code: def test_scalars_and_raws_and_nonraws(self):
      # Combination of scalars and raw arrays and non-raw arrays
      #                                                   -> size not allowed
      kernel1 = self.create_kernel((False, False, True), (False,))
      with self.raises_size_not_allowed():
          kernel1(self.arr1, 7, self.arr2, size=2)
      kernel2 = self.create_kernel((False, False, True), (True,))
      with self.raises_size_not_allowed():
          kernel2(self.arr1, 7, self.arr2, size=2)
  
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 9 for calling the TestElementwiseKernelSize obj's underlying member method code with example usage: obj.test_scalars_and_raws_and_nonraws() without return types