code: def check_variance(self, is_gpu):
      if is_gpu:
          variance1 = self.gpu_dist.variance.data
      else:
          variance1 = self.cpu_dist.variance.data
  
      if self.scipy_onebyone:
          variance2 = []
          for one_params in self.scipy_onebyone_params_iter():
              variance2.append(self.scipy_dist.var(**one_params))
          variance2 = numpy.vstack(variance2).reshape(
              self.shape + self.cpu_dist.event_shape
          )
      else:
          variance2 = self.scipy_dist.var(**self.scipy_params)
      array.assert_allclose(variance1, variance2)
  
imports: import functools
  import unittest
  import numpy
  import chainer
  from chainer.backends import cuda
  from chainer.testing import array
  from chainer.testing import attr
  from chainer import utils
label_desc: Use image node_id 44 for calling the distribution_unittest obj's underlying member method code with example usage: obj.check_variance(is_gpu) without return types