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()
      ZooContext.log_output = False
  
file_path: BigDL/python/dllib/test/bigdl/estimator/test_estimator.py
imports: import pytest
  from pyspark.ml import Pipeline
  from bigdl.dllib.estimator import *
  from bigdl.dllib.nn.layer import Sequential, View, Linear, LogSoftMax, SpatialConvolution
  from bigdl.dllib.nn.criterion import ClassNLLCriterion
  from bigdl.dllib.optim.optimizer import *
  from bigdl.dllib.utils.common import EvaluatedResult
  from test.bigdl.test_zoo_utils import ZooTestCase
  from bigdl.dllib.feature.common import FeatureSet
  from bigdl.dllib.nncontext import init_nncontext, init_spark_conf, ZooContext
  from bigdl.dllib.utils.file_utils import Sample
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