code: def test_save_overwriting(model_filepath):
      model = Ivis(k=15, batch_size=16, epochs=2)
      iris = datasets.load_iris()
      X = iris.data
  
      model.fit(X)
      model.save_model(model_filepath)
  
      # Check that trying to save over an existing folder raises an Exception
      with pytest.raises(FileExistsError) as exception_info:
          model.save_model(model_filepath)
          assert isinstance(exception_info.value, FileExistsError)
  
      # Check that can overwrite existing model if requested
      model.save_model(model_filepath, overwrite=True)
  
imports: import os
  import tempfile
  import pytest
  import pickle
  import dill
  from functools import partial
  from sklearn import datasets
  import numpy
  import tensorflow
  from ivis import Ivis
label_desc: Use image node_id 14 for calling a global function with example usage: test_save_overwriting(model_filepath) without return types