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/test_pickler.py
imports: from bigdl.dllib.nn.layer import *
  from bigdl.dllib.nn.initialization_method import *
  from bigdl.dllib.nn.criterion import *
  from bigdl.dllib.optim.optimizer import *
  from bigdl.dllib.utils.common import *
  from bigdl.dllib.utils.common import _py2java
  from bigdl.dllib.nn.initialization_method import *
  from bigdl.dllib.feature.dataset import movielens
  import numpy
  import tempfile
  import pytest
  from numpy.testing import assert_allclose, assert_array_equal
  from bigdl.dllib.utils.engine import compare_version
label_desc: Use image node_id 2 for calling the TestPickler obj's underlying member method code with example usage: obj.teardown_method(method) without return types