class_docstr: shared state for setting up/tearing down test items or collectors. 
class_docstr_tok: ["shared","state","for","setting","up\/tearing","down","test","items","or","collectors","."]
code: def _callfinalizers(self, colitem):
      finalizers = self._finalizers.pop(colitem, None)
      exc = None
      while finalizers:
          fin = finalizers.pop()
          try:
              fin()
          except TEST_OUTCOME:
              # XXX Only first exception will be seen by user,
              #     ideally all should be reported.
              if exc is None:
                  exc = sys.exc_info()
      if exc:
          six.reraise(*exc)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import bdb
  import os
  import sys
  from time import time
  import attr
  import six
  from .reports import CollectErrorRepr
  from .reports import CollectReport
  from .reports import TestReport
  from _pytest._code.code import ExceptionInfo
  from _pytest.compat import safe_str
  from _pytest.outcomes import Exit
  from _pytest.outcomes import Skipped
  from _pytest.outcomes import TEST_OUTCOME
label_desc: Use image node_id 4 for calling the SetupState obj's underlying member method code with example usage: obj._callfinalizers(colitem) without return types