code: def test_exception_in_setup(self):
      class Test(unittest.IsolatedAsyncioTestCase):
          async def asyncSetUp(self):
              events.append("asyncSetUp")
              self.addAsyncCleanup(self.on_cleanup)
              raise MyException()
  
          async def test_func(self):
              events.append("test")
  
          async def asyncTearDown(self):
              events.append("asyncTearDown")
  
          async def on_cleanup(self):
              events.append("cleanup")
  
      events = []
      test = Test("test_func")
      result = test.run()
      self.assertEqual(events, ["asyncSetUp", "cleanup"])
      self.assertIs(result.errors[0][0], test)
      self.assertIn("MyException", result.errors[0][1])
  
      events = []
      test = Test("test_func")
      self.addCleanup(test._tearDownAsyncioRunner)
      try:
          test.debug()
      except MyException:
          pass
      else:
          self.fail("Expected a MyException exception")
      self.assertEqual(events, ["asyncSetUp"])
      test.doCleanups()
      self.assertEqual(events, ["asyncSetUp", "cleanup"])
  
imports: import asyncio
  import contextvars
  import unittest
  from test import support
label_desc: Use image node_id 3 for calling the TestAsyncCase obj's underlying member method code with example usage: obj.test_exception_in_setup() without return types