code: def test_deprecated_save(self):
      with pytest.raises(Exception) as e_info:
          input = ZLayer.Input(shape=(5,))
          output = ZLayer.Dense(10)(input)
          zmodel = ZModel(input, output, name="graph1")
          zmodel.save(create_tmp_path())
  
imports: import pytest
  import keras.layers
  from keras.models import Sequential
  from test.bigdl.test_zoo_utils import ZooTestCase
  import bigdl.dllib.keras.layers
  from bigdl.dllib.keras.models import Model
  from bigdl.dllib.keras.models import Sequential
  from bigdl.dllib.net import Net
  from bigdl.dllib.nn.layer import Linear, Sigmoid, SoftMax, Model
  from bigdl.dllib.utils.common import *
  from bigdl.dllib.nn.layer import Sequential
label_desc: Use image node_id 3 for calling the TestLayer obj's underlying member method code with example usage: obj.test_deprecated_save() without return types