code: def test_beta(self):
      a = self.a
      b = self.b
      if isinstance(self.a, list) or isinstance(self.b, list):
          a = cupy.array(self.a)
          b = cupy.array(self.b)
      self.generate(a, b, size=(3, 5))
  
imports: import functools
  import unittest
  import numpy
  import cupy
  from cupy import testing
  from cupy.testing import _condition
label_desc: Use image node_id 1 for calling the Beta obj's underlying member method code with example usage: obj.test_beta() without return types