| 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 : /Python315/Lib/test/__pycache__/ |
Upload File : |
R
>lqj#� c �V � ] PH s ] PHs] PHs] PHs] PHs] PHs] PHs] QH G s Q s
QsQsQs
QsQsQsQ sQ
sQsQsQ
sQsQsQs Q Q\ \ O2 2 s Q Q\2 s Q Q\2 s Q Q\ O2 2 s Q Q\2 s\Q6X c \ O@ 2 P! P! )� )�ASTTestMixinc � � [ O U 2 9^tt^ 2 oUO 2 ttPPP2 ! ) % f h P! 9 h�N)�tokenize�open�read)�filename�streams & �&C:\Python315\\Lib\test\test_unparse.py�read_pyfiler
s- � �
���x� � �F��{�{�}�
!� � � �s �;�A �A zQdef f():
for x in range(10):
break
else:
y = 2
z = 3
zIdef g():
while True:
break
else:
y = 2
z = 3
zQfrom . import fred
from .. import barney
from .australia import shrimp as prawns
zzdef f():
x = 1
def g():
nonlocal x
x = 2
y = 7
def h():
nonlocal x, y
zOtry:
1 / 0
except ZeroDivisionError as e:
raise ArithmeticError from e
z@f1(arg)
@f2
class Foo: pass
z=if cond1:
suite1
elif cond2:
suite2
else:
suite3
z,if cond1:
suite1
elif cond2:
suite2
zctry:
suite1
except ex1:
suite2
except ex2:
suite3
else:
suite4
finally:
suite5
zetry:
suite1
except* ex1:
suite2
except* ex2:
suite3
else:
suite4
finally:
suite5
zwith f():
suite1
zwith f() as x:
suite1
z$with f() as x, g() as y:
suite1
c �R ` � \ sQ s]�s n Q s\1Q ksQQ ksQQ ksQQ ks Qs
U sP! )�ASTTestCasec �$ � U O VQ 5 9^tt^ 2 [ O U1- U@ o[ O U2 o[ O U1- U@ oU O V52 PPP2 P! ) % f h P! 9 h))�code1�ast_parse_kwargs)�subTest�ast�parse�unparse�assertASTEqual)�selfr �kwargs�ast1�code2�ast2s &&, r
�check_ast_roundtrip�ASTTestCase.check_ast_roundtrip� se � �
�\�\��\�
?�
?��9�9�U�-�f�-�D��K�K��%�E��9�9�U�-�f�-�D�����+� @�
?�
?�
?�s �AA>�>B �B c � � U O UQ 5 9^tt^ 2 U O U[ O U2 PPP2 P! ) % f h P! 9 h))�node)r �assertRaisesr r )r r �raisess &&&r
�
check_invalid�ASTTestCase.check_invalid� s8 � �
�\�\�t�\�
$�
$����f�c�k�k�4�8� %�
$�
$�
$�s �"A�A �A c �z � S9% f So[ O [ O U1- U@ 2 oV1! r )r r r �r r r r s &&&,r
�
get_source�ASTTestCase.get_source� s1 � ���������C�I�I�e�6�v�6�7���|�� c �� � U O V1- U@ v qU O VQ 5 9^tt^ 2 U O V!2 PPP2 P! ) % f h P! 9 h�)r r )r% r �assertEqualr$ s &&&,r
�check_src_roundtrip�ASTTestCase.check_src_roundtrip� sE � ����u�>�v�>���
�\�\��\�
3�
3����U�*� 4�
3�
3�
3�s �A�A �A c � � U O V2 v qU O VQ 5 9^tt^ 2 U O V!2 PPP2 P! ) % f h P! 9 hr) )r% r �assertNotEqual)r r r s &&&r
�check_src_dont_roundtrip�$ASTTestCase.check_src_dont_roundtrip� s@ � ����u�4���
�\�\��\�
3�
3�����-� 4�
3�
3�
3�s �A�A �A � r )�__name__�
__module__�__qualname__�__firstlineno__r �
ValueErrorr! r% r+ r/ �__static_attributes__�__classdictcell__��
__classdict__s @r
r
r
� s( �� � �,� *4� 9��
+�
.� .r'