code: def test_save_load(base_preprocessor):
      dirpath = ".tmpdir"
      base_preprocessor.save(dirpath)
      assert mz.load_preprocessor(dirpath)
      with pytest.raises(FileExistsError):
          base_preprocessor.save(dirpath)
      shutil.rmtree(dirpath)
  
imports: import pytest
  import shutil
  import matchzoo
  from matchzoo.engine.base_preprocessor import BasePreprocessor
label_desc: Use image node_id 2 for calling a global function with example usage: test_save_load(base_preprocessor) without return types