| exceptiongroup.ExceptionGroup: eg1 (1 sub-exception)
The above exception was the direct cause of the following exception:
+ Exception Group Traceback (most recent call last):
| File "/home/ganden/vc/exceptiongroup/eg.py", line 7, in <module>
| raise eg0 from eg1
| exceptiongroup.ExceptionGroup: eg0 (1 sub-exception)
+-+---------------- 1 ----------------
| Exception: e0
+------------------------------------
To reproduce (tested on CPython 3.9 and 3.10):
gives
This differs from the expected 3.11 behavior.