class_docstr: Unit test Smart Predictor class
class_docstr_tok: ["Unit","test","Smart","Predictor","class"]
docstr: Unit test save 1
docstr_tok: ["Unit","test","save","1"]
code: def test_save_1(self):
      """
      Unit test save 1
      """
      pkl_file, predictor = init_sme_to_pickle_test()
      predictor.save(pkl_file)
      assert path.exists(pkl_file)
      os.remove(pkl_file)
  
imports: import unittest
  from shapash.explainer.smart_predictor import SmartPredictor
  from shapash import SmartExplainer
  from shapash.explainer.smart_state import SmartState
  from shapash.explainer.multi_decorator import MultiDecorator
  from shapash.backend import ShapBackend
  import os
  from os import path
  from pathlib import Path
  import pandas
  import numpy
  import catboost
  from catboost import Pool
  import category_encoders
  from unittest.mock import patch
  import types
  from sklearn.compose import ColumnTransformer
  import sklearn.preprocessing
  import shap
label_desc: Use image node_id 24 for calling the TestSmartPredictor obj's underlying member method code with example usage: obj.test_save_1() without return types