code: def test_dirichlet(self):
      alpha = self.alpha
      if not isinstance(self.alpha, float):
          alpha = cupy.array(self.alpha)
      self.generate(alpha=alpha, size=(3, 2))
  
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 Dirichlet obj's underlying member method code with example usage: obj.test_dirichlet() without return types