| Server IP : 121.121.20.254 / Your IP : 216.73.216.146 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/test/test_gdb/__pycache__/ |
Upload File : |
R
>lqjhH c �\ � ] PH s ] PHs] QHGs ]QHGsGsGsGsG s Q s
Q Q\ 2 sP! )� )�support)�
BREAKPOINT_FN�GDB_VERSION�run_gdb�setup_module�
DebuggerTestsc � � [ 2 P! �N)r � � �4C:\Python315\\Lib\test\test_gdb\test_pretty_print.py�setUpModuler
s � ��Nr c � ` � \ sQ s]s n Q!Q ksQ sQ"Q ks\O Q2 Q 2 s Q s
Q sQ s\O Q2 Q 2 s
\O Q2 Q
2 sQ s\O Q2 Q 2 s\O Q2 Q
2 sQ sQ sQ sQ sQ"Q ksQ sQ sQ sQ sQ sQ sQ sQ sQ sQ s Q s!Q s"Q s#Q s$U s%P! )#�PrettyPrintTestsc � � S9% f Q ,oU O U[ UUQ5 o[ O QU[ O 2 oU% f U O QU8 QU8 02 UO
]2 U1! )zbacktrace 1)�
breakpoint�cmds_after_breakpoint�import_sitezS#0\s+builtin_id\s+\(self\=.*,\s+v=\s*(.*?)?\)\s+at\s+\S*[A-Za-z]+/[A-Za-z0-9_-]+\.czUnexpected gdb output: �
)�get_stack_tracer �re�search�DOTALL�fail�group)�self�sourcer r �
gdb_output�ms &&&& r �get_gdb_repr�PrettyPrintTests.get_gdb_repr s} � � !6� H� H�-����)�)�&�]�@U�6A� *� C�
�
�I�I�
6�
�� � �
#�� ��I�I��Z�P�Q��w�w�q�z�:�%�%r c �Z � U O Q 2 oU O [ U7 2 P! )�id(42))r �
assertTruer �r r s & r �test_getting_backtrace�'PrettyPrintTests.test_getting_backtrace3 s# � ��)�)�(�3�
����
��3�4r c � � U O Q [ U2 * Q* 2 v q4U% f [ U2 oU O V2U8 QU8 QU8 02 P! )zid(�)z did not equal expected z; full output was:
)r �ascii�repr�assertEqual)r �val�exp_repr�gdb_reprr s &&& r �
assertGdbRepr�PrettyPrintTests.assertGdbRepr7 sM � � $�0�0���s��1C�c�1I�J�����C�y�H�����%�x��=� ?r �cpuc � � U O ]*2 U O ] 2 U O Q2 U O Q2 U O Q2 P! )z0Verify the pretty-printing of various int valuesl J)�i����l���� �I�5 �r/ �r s &r �test_int�PrettyPrintTests.test_intA sK � �
���2�����1�����2�����=�)����,�-r c �n � U O P 2 U O P
2 U O P2 P! )z2Verify the pretty-printing of True, False and Noner3 r4 s &r �test_singletons� PrettyPrintTests.test_singletonsJ s, � ����4� ����5�!����4� r c �� � U O - 2 U O QQ-Q2 U O QQQ]*-Q2 U O [ 2 Q2 U O [ QQQ]*-2 Q2 P! )z*Verify the pretty-printing of dictionaries�foo�barz{'foo': 'bar'}�douglasz{'foo': 'bar', 'douglas': 42}zfrozendict({})z)frozendict({'foo': 'bar', 'douglas': 42}))r/ �
frozendictr4 s &r �
test_dicts�PrettyPrintTests.test_dictsP sz � ����2�����E�5�>�+;�<����E�5�)�R�8�:� <�
���:�<�+� -����:�u�e�Y��&C�D�F� Hr c �p � U O , 2 U O [ [ ]2 2 2 P! )z#Verify the pretty-printing of lists)r/ �list�ranger4 s &r �
test_lists�PrettyPrintTests.test_lists^ s&