code: def test_save_load_model(model):
      tmpdir = ".matchzoo_test_save_load_tmpdir"
  
      if Path(tmpdir).exists():
          shutil.rmtree(tmpdir)
  
      try:
          model.save(tmpdir)
          assert mz.load_model(tmpdir)
          with pytest.raises(FileExistsError):
              model.save(tmpdir)
      finally:
          if Path(tmpdir).exists():
              shutil.rmtree(tmpdir)
  
file_path: MatchZoo/tests/unit_test/models/test_models.py
imports: import pytest
  import copy
  from pathlib import Path
  import shutil
  import matchzoo
  from keras.backend import clear_session
label_desc: Use image node_id 12 for calling a global function with example usage: test_save_load_model(model) without return types