code: def test_get_message(self):
      for code, exc, msg in self.data:
          with self.subTest(code=code):
              try:
                  eval(compile(code, "", "eval"))
              except exc:
                  typ, val, tb = sys.exc_info()
                  actual = run.get_message_lines(typ, val, tb)[0]
                  expect = f"{exc.__name__}: {msg}"
                  self.assertEqual(actual, expect)
  
imports: from idlelib import run
  import io
  import sys
  from test.support import captured_output, captured_stderr
  import unittest
  from unittest import mock
  import idlelib
  from idlelib.idle_test.mock_idle import Func
label_desc: Use image node_id 2 for calling the ExceptionTest obj's underlying member method code with example usage: obj.test_get_message() without return types