class_docstr: Unit tests for the nearest neighbors builder class.
docstr: Delete the .mlmodel and .mlmodelc for the given .mlmodel.
docstr_tok: ["Delete","the",".mlmodel","and",".mlmodelc","for","the","given",".mlmodel","."]
code: def _delete_mlmodel_and_mlmodelc(path_to_mlmodel):
      """Delete the .mlmodel and .mlmodelc for the given .mlmodel."""
      if os.path.exists(path_to_mlmodel):
          os.remove(path_to_mlmodel)
      path_to_mlmodelc = "{}c".format(path_to_mlmodel)
      if os.path.exists(path_to_mlmodelc):
          shutil.rmtree(path_to_mlmodelc)
  
imports: import os
  import shutil
  from coremltools.models.utils import _is_macos
  import unittest
  from coremltools.models import MLModel
  from coremltools.models.nearest_neighbors import KNearestNeighborsClassifierBuilder
  from coremltools._deps import _HAS_SKLEARN
label_desc: Use image node_id 22 for calling the NearestNeighborsBuilderTest obj's underlying member method code with example usage: obj._delete_mlmodel_and_mlmodelc(path_to_mlmodel) without return types