python (3.12.0)
ϑe G d d Z y)c e Zd Zd Zy)ExceptionIsLikeMixinc ^ ||y|| j d| || j d|d t |t sS| j |j |j | j |j
d |j
d y| j |j |j | j t |j t |j t |j |j D ] \ }}| 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
isinstanceExceptionGroupassertEqual __class__argsmessagelen
exceptionszipassertExceptionIsLike)selfexctemplateets I/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/support/testcase.pyr z*ExceptionIsLikeMixin.assertExceptionIsLike s ;8+II.se45;II3H<zJK#~.S]]H,>,>?SXXa[(--*:;S[[(*:*:;S0#h6I6I2JKCNNH,?,?@
11**1a0
1 N)__name__
__module____qualname__r r r r r s 1r r N)r r r r <module>r s 1 1r