code: def setup_class(cls):
      np.random.seed(987456)
      nobs = 1000
      distr0 = stats.beta(2, 3)
      rvs = distr0.rvs(size=nobs)
      # Runtime warning if x_plot includes 0
      x_plot = np.linspace(1e-10, 1, 51)
  
      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 = 0.01
      cls.amse_cdf = 5e-3
  
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 TestKernelsUnit obj's underlying member method code with example usage: obj.setup_class(cls) without return types