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/nnframes/test_nn_image_reader.py
imports: import os
  import pytest
  from bigdl.transform.vision.image import *
  from bigdl.util.common import *
  from pyspark.sql.types import *
  from zoo.common.nncontext import *
  from zoo.pipeline.nnframes import *
label_desc: Use image node_id 2 for calling the TestNNImageReader obj's underlying member method code with example usage: obj.teardown_method(method) without return types