Traceback (most recent call last): File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 31, in main a() File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 10, in a 1 / 0 ZeroDivisionError: division by zero The above exception was the direct cause of the following exception: Traceback (most recent call last): File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 34, in main raise ValueError("Error") from err ValueError: Error During handling of the above exception, another exception occurred: + Exception Group Traceback (most recent call last): | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 43, in | main() | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 36, in main | raise ExceptionGroup("from_context", [from_context, from_cause]) | ExceptionGroup: from_context (2 sub-exceptions) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 17, in main | a() | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 10, in a | 1 / 0 | ZeroDivisionError: division by zero | | The above exception was the direct cause of the following exception: | | Traceback (most recent call last): | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 19, in main | raise ValueError("ContextError") from err | ValueError: ContextError +---------------- 2 ---------------- | Traceback (most recent call last): | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 24, in main | a() | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 10, in a | 1 / 0 | ZeroDivisionError: division by zero | | During handling of the above exception, another exception occurred: | | Traceback (most recent call last): | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 26, in main | raise ValueError("CauseError") | ValueError: CauseError +------------------------------------ Traceback (most recent call last): File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 31, in main a() └  File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 10, in a 1 / 0 ZeroDivisionError: division by zero The above exception was the direct cause of the following exception: Traceback (most recent call last): File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 34, in main raise ValueError("Error") from err ValueError: Error During handling of the above exception, another exception occurred: + Exception Group Traceback (most recent call last): | | > File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 43, in  | main() | └  | | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 36, in main | raise ExceptionGroup("from_context", [from_context, from_cause]) |  │ └ ValueError('CauseError') |  └ ValueError('ContextError') | | ExceptionGroup: from_context (2 sub-exceptions) +-+---------------- 1 ---------------- | Traceback (most recent call last): | | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 17, in main | a() | └  | | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 10, in a | 1 / 0 | | ZeroDivisionError: division by zero | | | The above exception was the direct cause of the following exception: | | | Traceback (most recent call last): | | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 19, in main | raise ValueError("ContextError") from err | | ValueError: ContextError +---------------- 2 ---------------- | Traceback (most recent call last): | | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 24, in main | a() | └  | | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 10, in a | 1 / 0 | | ZeroDivisionError: division by zero | | | During handling of the above exception, another exception occurred: | | | Traceback (most recent call last): | | File "tests/exceptions/source/modern/grouped_with_cause_and_context.py", line 26, in main | raise ValueError("CauseError") | | ValueError: CauseError +------------------------------------