| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python315/Lib/idlelib/idle_test/__pycache__/ |
Upload File : |
R
>lqjUN c �� � Q s ] QHGs ] PHs] PHs] QHGsGs ] PH s] QH G s ] PHs] QH(Gs ] QHGs P \m
Q Q\O 2 s Q Q \2 s Q
Q2 s Q Q
\O 2 s Q Q\O 2 s Q Q\O 2 s Q Q\O 2 s Q Q\O 2 s\Q6X c \O2 ]Q5 P! P! )zTest run, coverage 54%.)�run)�captured_output�captured_stderr)�mock)�Func)�force_not_colorizedc � ` � \ sQ s]s n Q sQ\Q1Q\Q1Q\Q11s\ Q 2 s
\ \O O \Q Q
Q5 Q 2 2 sQ
s\ Q 2 s\ Q 2 s\ Q 2 s\ Q 2 s\ Q 2 sQsU sP! )�
ExceptionTestc � � Q Q[ 2 oU Q2 oU Q2 o V2g S c� Sg S c� [ 2 9^tt^ 2 o[ O O [
Q2 9^tt^ 2 oQ Sm [
O 2 PPP2 L ) % f h L9 hPPP2 L ) % f h L9 hh 9 hh 9 hWO 2 O 2 O 2 oS O ][ S2 2 S O QS]* 2 S O QS]
* 2 P! )c �( ` � \ sQ s]s n Q sQsU sP! )�JExceptionTest.test_print_exception_unhashable.<locals>.UnhashableExceptionc � � P ! )T� )�self�others &&�/C:\Python315\\Lib\idlelib\idle_test\test_run.py�__eq__�QExceptionTest.test_print_exception_unhashable.<locals>.UnhashableException.__eq__ s � �� r
)�__name__�
__module__�__qualname__�__firstlineno__r �__static_attributes__�__classdictcell__��
__classdict__s @r �UnhashableExceptionr s �� � �
�
r r �ex1�ex2�cleanup_tracebackc � � U ! �Nr
��t�es &&r �<lambda>�?ExceptionTest.test_print_exception_unhashable.<locals>.<lambda>! s � �ar zUnhashableException: ex2zUnhashableException: ex1)� Exceptionr r �patch�objectr �side_effect�print_exception�getvalue�strip�
splitlines�assertEqual�len�assertIn)r r r r �output�ct�tbs & r �test_print_exception_unhashable�-ExceptionTest.test_print_exception_unhashable s � � �)� � "�%�(��!�%�(�� .����"� .�
.�� ��&�
.�$�&�&�&����*�*�3�0C�D�D��)7����+�+�-� E�D�D�D�� '�&�&�&��
.�� .�� �_�_�
�
$�
$�
&�
1�
1�
3������S��W�%��
�
�0�"�Q�%�8��
�
�0�"�R�&�9sp �$ �C�C�.�C�C�-B9 �4B
� B9 �B+�$B+�&B9 �.C�6C�9C
�C
�C�C�C�C�1/0zdivision by zero
�abczSname 'abc' is not defined. Did you mean: 'abs'? Or did you forget to import 'abc'?
zint.reelzTtype object 'int' has no attribute 'reel'. Did you mean '.real' instead of '.reel'?
c � � U O F D@ v qoU O UQ 5 9^tt^ 2 [ [ UPQ2 2 PPP2 JB P! S c\ [ O
2 v qEo[ O XES2 ] * oSO QS 0oS O Xx2 Koh 9 h ) % f h J� 9 h))�code�evalz: )
�data�subTestr; �compile�sys�exc_infor �get_message_linesr r/ ) r r: �exc�msg�typ�valr4 �actual�expects & r �test_get_message�ExceptionTest.test_get_message2 s� � �"�i�i�N�D�s����4��(�(�5����r�6�2�3� )�(� (�� � 5�#&�<�<�>�L�C�b� �2�2�3�R�@��C�F� #���~�R��u�5�F��$�$�V�4� 5�� )�(�(�s5 �B: �A�B7�AB7�4B: �6B7�7B: �:C
�C
r c �
� Q ! )c � � P! r! r
r"