code: def test_ks(self):
      # cdf is slow
      # Kolmogorov-Smirnov test against generating sample
      stat, pvalue = stats.kstest(self.rvs, self.dist2.cdf)
      assert_array_less(0.25, pvalue)
  
file_path: statsmodels/statsmodels/sandbox/distributions/tests/test_norm_expan.py
imports: import pytest
  import numpy
  from scipy import stats
  from numpy.testing import assert_allclose, assert_array_less
  from statsmodels.sandbox.distributions.extras import NormExpan_gen
label_desc: Use image node_id 2 for calling the TestExpandNormSample obj's underlying member method code with example usage: obj.test_ks() without return types