RhGddZy)ceZdZdZy)ExceptionIsLikeMixinc^||y||jd|||jd|dt|tsS|j|j|j|j|j d|j dy|j|j |j |jt|jt|jt|j|jD]\}}|j||y)a  Passes when the provided `exc` matches the structure of `template`. Individual exceptions don't have to be the same objects or even pass an equality test: they only need to be the same type and contain equal `exc_obj.args`. Nzunexpected exception: zexpected an exception like z , got None) fail isinstanceExceptionGroup assertEqual __class__argsmessagelen exceptionszipassertExceptionIsLike)selfexctemplateets ,/usr/lib/python3.12/test/support/testcase.pyrz*ExceptionIsLikeMixin.assertExceptionIsLikes ;8+    II.se4 5 ; II3H,> ?   SXXa[(--*: ;   S[[(*:*: ;   S0#h6I6I2J KCNNH,?,?@ 11**1a0 1N)__name__ __module__ __qualname__rrrrrs1rrN)rrrrrs11r