code: def setup_class(cls):
      b = 2
      scale = 1.5
      np.random.seed(1)
      nobs = 1000
      distr0 = stats.gamma(b, scale=scale)
      rvs = distr0.rvs(size=nobs)
      x_plot = np.linspace(0.5, 16, 51) + 1e-13
  
      cls.rvs = rvs
      cls.x_plot = x_plot
      cls.pdf_dgp = distr0.pdf(x_plot)
      cls.cdf_dgp = distr0.cdf(x_plot)
      cls.amse_pdf = 1e-4  # tol for average mean squared error
      cls.amse_cdf = 5e-4
  
imports: import numpy
  from numpy.testing import assert_allclose, assert_array_less
  from scipy import stats
  import pytest
  import statsmodels.nonparametric.kernels_asymmetric
label_desc: Use image node_id 1 for calling the TestKernelsRplus obj's underlying member method code with example usage: obj.setup_class(cls) without return types