code: def test_trivial_classification(simple_dataset):
      x, y = simple_dataset
      model = BayesianKernelDensityClassifier().fit(x, y)
      assert (model.predict(x) == y).all()
  
file_path: scikit-lego/tests/test_estimators/test_neighbor_classifier.py
imports: import numpy
  import pytest
  from sklego.common import flatten
  from sklego.neighbors import BayesianKernelDensityClassifier
  from tests.conftest import classifier_checks, general_checks, nonmeta_checks, select_tests
label_desc: Use image node_id 3 for calling a global function with example usage: test_trivial_classification(simple_dataset) without return types