class_docstr: A test to validate if exceptions are stored and retrieved correctly
class_docstr_tok: ["A","test","to","validate","if","exceptions","are","stored","and","retrieved","correctly"]
code: def check_results(self, flow, checker):
      run = checker.get_run()
      if run is not None:
          for task in run["end"]:
              assert_equals("KeyError" in str(task.exception), True)
              assert_equals(
                  task.exception.exception, "'Something has gone wrong'"
              )
  
imports: from metaflow_test import MetaflowTest, ExpectationFailed, steps
label_desc: Use image node_id 3 for calling the TaskExceptionTest obj's underlying member method code with example usage: obj.check_results(flow, checker) without return types