code: def test_all_kernels(kernel, reset_randomstate):
      data = np.random.normal(size=200)
      x_grid = np.linspace(min(data), max(data), 200)
      density = sm.nonparametric.KDEUnivariate(data)
      density.fit(kernel="gau", fft=False)
      assert isinstance(density.evaluate(x_grid), np.ndarray)
  
imports: import numpy
  import numpy.testing
  import pytest
  from numpy.testing import assert_allclose, assert_equal
  import statsmodels.api
label_desc: Use image node_id 1 for calling a global function with example usage: test_all_kernels(kernel, reset_randomstate) without return types