code: def test_estimator_checks(test_fn):
      test_fn(
          BayesianKernelDensityClassifier.__name__,
          BayesianKernelDensityClassifier(),
      )
  
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 2 for calling a global function with example usage: test_estimator_checks(test_fn) without return types