'Regression test for #1181.'

def test_kde_integer_input(self):

    x1 = np.arange(5)
    kde = mlab.GaussianKDE(x1)
    y_expected = [0.13480721, 0.18222869, 0.19514935, 0.18222869, 0.13480721]
    np.testing.assert_array_almost_equal(kde(x1), y_expected, decimal=6)
