code: def get_error_types(eg):
      return {type(exc) for exc in eg.exceptions}
  
file_path: cpython/Lib/test/test_asyncio/test_taskgroups.py
imports: import asyncio
  import contextvars
  import contextlib
  from asyncio import taskgroups
  import unittest
  from test.test_asyncio.utils import await_without_task
label_desc: Use image node_id 2 for calling a global function with example usage: get_error_types(eg) and returns: unknown