docstr: Pass a single dataset element into the GaussianKDE class.
docstr_tok: ["Pass","a","single","dataset","element","into","the","GaussianKDE","class","."]
code: def test_single_dataset_element(self):
      """Pass a single dataset element into the GaussianKDE class."""
      with pytest.raises(ValueError):
          mlab.GaussianKDE([42])
  
imports: from numpy.testing import assert_allclose, assert_almost_equal, assert_array_equal, assert_array_almost_equal_nulp
  import numpy
  import pytest
  from matplotlib import mlab
label_desc: Use image node_id 2 for calling the TestGaussianKDECustom obj's underlying member method code with example usage: obj.test_single_dataset_element() without return types