@@ -1053,11 +1053,11 @@ their subgroups based on the types of the contained exceptions.
10531053 ...
10541054 >>> match, rest = exc.split(ValueError )
10551055 >>> exc, exc.__context__, exc.__cause__, exc.__notes__
1056- (MyGroup('eg', [ ValueError(1), TypeError(2)] ), Exception('context'), Exception('cause'), ['a note'])
1056+ (MyGroup('eg', ( ValueError(1), TypeError(2)) ), Exception('context'), Exception('cause'), ['a note'])
10571057 >>> match, match.__context__, match.__cause__, match.__notes__
1058- (MyGroup('eg', [ ValueError(1)] ), Exception('context'), Exception('cause'), ['a note'])
1058+ (MyGroup('eg', ( ValueError(1),) ), Exception('context'), Exception('cause'), ['a note'])
10591059 >>> rest, rest.__context__, rest.__cause__, rest.__notes__
1060- (MyGroup('eg', [ TypeError(2)] ), Exception('context'), Exception('cause'), ['a note'])
1060+ (MyGroup('eg', ( TypeError(2),) ), Exception('context'), Exception('cause'), ['a note'])
10611061 >>> exc.__traceback__ is match.__traceback__ is rest.__traceback__
10621062 True
10631063
0 commit comments