(exc)
| 684 | self.assertIsInstance(rest, BaseExceptionGroup) |
| 685 | |
| 686 | def leaves(exc): |
| 687 | return [] if exc is None else [e for e,_ in leaf_generator(exc)] |
| 688 | |
| 689 | # match and subgroup have the same leaves |
| 690 | self.assertSequenceEqual(leaves(match), leaves(sg)) |
nothing calls this directly
no test coverage detected