code: def test_kde_integer_input():
      """Regression test for #1181."""
      x1 = np.arange(5)
      kde = stats.gaussian_kde(x1)
      y_expected = [
          0.13480721,
          0.18222869,
          0.19514935,
          0.18222869,
          0.13480721,
      ]
      assert_array_almost_equal(kde(x1), y_expected, decimal=6)
  
imports: from scipy import stats
  import numpy
  from numpy.testing import assert_almost_equal, assert_, assert_array_almost_equal, assert_array_almost_equal_nulp, assert_allclose
  import pytest
  from pytest import raises
label_desc: Use image node_id 10 for calling a global function with example usage: test_kde_integer_input() without return types