class_docstr: Interpret AST nodes to gleam useful debugging information. 
class_docstr_tok: ["Interpret","AST","nodes","to","gleam","useful","debugging","information","."]
code: def visit_Assert(self, assrt):
      test_explanation, test_result = self.visit(assrt.test)
      if test_explanation.startswith(
          "False\n{False ="
      ) and test_explanation.endswith("\n"):
          test_explanation = test_explanation[15:-2]
      explanation = "assert %s" % (test_explanation,)
      if not test_result:
          try:
              raise BuiltinAssertionError
          except Exception:
              raise Failure(explanation)
      return explanation, test_result
  
imports: import sys
  import ast
  import py
  from py._code.assertion import _format_explanation, BuiltinAssertionError
label_desc: Use image node_id 14 for calling the DebugInterpreter obj's underlying member method code with example usage: obj.visit_Assert(assrt) and returns: explanation,  test_result