Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3.12/test/support/__pycache__/ |
Upload File : |
� �(�g � � � 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� isinstance�ExceptionGroup�assertEqual� __class__�args�message�len� exceptions�zip�assertExceptionIsLike)�self�exc�template�e�ts �,/usr/lib/python3.12/test/support/testcase.pyr z*ExceptionIsLikeMixin.assertExceptionIsLike s� � � �;�8�+�����I�I�.�s�e�4�5��;��I�I�3�H�<�z�J�K��#�~�.����S�]�]�H�,>�,>�?����S�X�X�a�[�(�-�-��*:�;����S�[�[�(�*:�*:�;����S����0�#�h�6I�6I�2J�K��C�N�N�H�,?�,?�@� 1���1��*�*�1�a�0� 1� N)�__name__� __module__�__qualname__r � r r r r s � �1r r N)r r r r �<module>r s ��1� 1r