class_docstr: State for the assertion plugin.
class_docstr_tok: ["State","for","the","assertion","plugin","."]
code: def __init__(self, config, mode):
      self.mode = mode
      self.trace = config.trace.root.get("assertion")
      self.hook = None
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import six
  from _pytest.assertion import rewrite
  from _pytest.assertion import truncate
  from _pytest.assertion import util
label_desc: Use image node_id 1 to create a new AssertionState object from inherited base classes: object with example: obj = AssertionState(config, mode)