docstr: teardown any state that was previously setup with a setup_method
  call.
docstr_tok: ["teardown","any","state","that","was","previously","setup","with","a","setup_method","call","."]
code: def teardown_method(self, method):
      """teardown any state that was previously setup with a setup_method
      call.
      """
      self.sc.stop()
  
file_path: BigDL/python/dllib/test/bigdl/nnframes/test_treemodel.py
imports: import pytest
  from bigdl.dllib.nncontext import *
  from bigdl.dllib.nnframes.tree_model import *
  from bigdl.dllib.utils.tf import *
  from pyspark.ml.linalg import DenseVector, VectorUDT
  from pyspark.sql.functions import udf, array
label_desc: Use image node_id 2 for calling the TestTreeModel obj's underlying member method code with example usage: obj.teardown_method(method) without return types