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: analytics-zoo/pyzoo/test/zoo/pipeline/estimator/test_estimator.py
imports: import pytest
  from pyspark.ml import Pipeline
  from zoo.pipeline.estimator import *
  from bigdl.nn.layer import Sequential, View, Linear, LogSoftMax, SpatialConvolution
  from bigdl.nn.criterion import ClassNLLCriterion
  from bigdl.optim.optimizer import *
  from bigdl.util.common import EvaluatedResult
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.feature.common import FeatureSet
  from zoo import init_nncontext, init_spark_conf
  import zoo.common
label_desc: Use image node_id 2 for calling the TestEstimator obj's underlying member method code with example usage: obj.teardown_method(method) without return types