403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/test/__pycache__/test_builtin.cpython-315.pyc
R
>lqjz�c�~�]PHs]PHs]PHs]PHs]PHs]PHs]PHs]PHs]PH s]PH$s	]PH(s
]PH,s]PH0s]PH4s
]PH8s]PH<s]PH@s]PHDs]PHHs]PHLs]PHPs]PHTs]PHXs]QHGs]QH`Gs]QHhGs]QHpGs]QHxGs]QHHG s G!s!G"s"]QH�G$s$]QH�G&s&]Q	H�G(s(G)s)]Q
H�G*s*G+s+]QH�G,s,]QH�G.s.]Q
H�G0s0G1s1G2s2]QH�G4s4]QH�G6s6]QH�G8s8]QH�G9s9]QH�G;s;G<s<]PH�s=]PH�s>QQts@sA\@\A*QA6HsB]{sC\DQ2sEQQ2sFQQ2sGQQ2sHQQ2sIQBQCQDQEQFQGQHQIQJQK\J\O�2\O�1Q!\L1QLQ#\L1P\L1Q$\L1Q%\L1\MQ&Q'2Q1\NQ(2\L1,sOQBQCQDQEQFQGQHQ\L1QJQ \L1\J\O�2\O�1Q!\L1Q"\L1Q#\L1P\L1Q$\L1Q%\L1\MQ&Q'2Q1\NQ(2\L1,sPQ)Q*2sQQ+Q,2sRQ-sSQ.sTQ/sUQ0Q1\6\O�2sWQ2Q3\O�2sX\O�\=Q42Q5Q6\O�22sZQ7Q8\O�2s[Q9Q:\O�2s\\(Q;Q<\O�22s]Q=Q>\O�2s^Q?s_\`Q@6Xc\O�2P!P!\?c	P9s=s>CK�h9h)M�)�	ExitStack)�partial)�CO_COROUTINE)�product)�dedent)�AsyncGeneratorType�FunctionType�CellType)�neg)�support)�cpython_only�	swap_attr)�async_yield�run_yielding_async_fn)�warnings_helper)�
import_module)�EnvironmentVarGuard�TESTFN�unlink)�assert_python_ok)�ComplexesAreIdenticalMixin)�check_warnings)�requires_IEEE_754)�	MagicMock�patchg��7y�ACg�):��@�
A_SENTINELc�(�\sQs];s\Q2sQsP!)�SentinelContainerz SentinelContainer.CLASS_SENTINEL�)�__name__�
__module__�__qualname__�__firstlineno__�sentinel�CLASS_SENTINEL�__static_attributes__r��&C:\Python315\\Lib\test\test_builtin.pyrr;s
���@�A�Nr&rc�4`�\sQs]>snQsQsQsQsUsP!)�Squaresc�"�Vm,UmP!�N��max�sofar��selfr-s&&r'�__init__�Squares.__init__@�������
r&c�.�[UO2!r+��lenr.�r0s&r'�__len__�Squares.__len__Ds��c�$�*�*�o�-r&c��]St96:cUO6f[g[g[UO2oV!6:c-UOO	V"*2U]*
oJ2UOU*!�r)r-�
IndexErrorr6r.�append�r0�i�ns&& r'�__getitem__�Squares.__getitem__Fs]���A� ���� �
�"2� �
�"2���
�
�O���f��J�J���a�c�"�
��F�A��z�z�!�}�r&r,�	rr r!r"r1r8rAr%�__classdictcell__��
__classdict__s@r'r)r)>s�����.��r&r)c�4`�\sQs]NsnQsQsQsQsUsP!)�
StrSquaresc�"�Vm,UmP!r+r,r/s&&r'r1�StrSquares.__init__Pr3r&c�.�[UO2!r+r5r7s&r'r8�StrSquares.__len__Ts���4�:�:��r&c��]St96:cUO6f[g[g[UO2oV!6:c6UOO	[V"*22U]*
oJ;UOU*!r;)r-r<r6r.r=�strr>s&& r'rA�StrSquares.__getitem__Wse���A� ���� ���!�����
�
�O���f��J�J���c�!�#�h�'�
��F�A��z�z�!�}�r&r,rCrEs@r'rHrHNs�������r&rHc�(`�\sQs]`snQsQsUsP!)�	BitBucketc��P!r+r)r0�lines&&r'�write�BitBucket.writeas��r&r)rr r!r"rTr%rDrEs@r'rQrQ`s����
�
r&rQ�:� 314�  		  314  		  z  1x�  1  z  1  � z  		  s\u0663\u0661\u0664 zraw-unicode-escape�c�(`�\sQs]�snQsQsUsP!)�TestFailingBoolc��[gr+��RuntimeErrorr7s&r'�__bool__�TestFailingBool.__bool__�����r&r)rr r!r"rar%rDrEs@r'r]r]�������r&r]c�(`�\sQs]�snQsQsUsP!)�TestFailingIterc��[gr+r_r7s&r'�__iter__�TestFailingIter.__iter__�rcr&r�rr r!r"rhr%rDrEs@r'rfrf�rdr&rfc�2�[U2[Q26�!)�d)�ord��args&r'�filter_charrp�s���s�8�c�#�h��r&c�:�[[U2]*2!��)�chrrmrns&r'�map_charru�s���s�3�x��z�?�r&c��U!r+r��argss*r'�packry�s���Kr&c�.`�\sQs]�snQsQsQsQsQsQs	Qs
QsQ	sQ
s
QsQsQ
sQsQsQsQsQsQsQsQsQsQsQsQsQsQsQsQs Qs!Qs"Q s#Q!s$Q"s%Q#s&Q$s'Q%s(Q&s)Q's*Q(s+Q)s,\-O\2\-O^2\-O`Q*2Q+222s1Q,s2Q-s3Q.s4Q/s5Q0s6Q1s7Q2s8Q3s9Q4s:Q5s;Q6s<Q7s=Q8s>Q9s?Q:s@Q;sAQ<sBQ=sCQ>sDQ?sEQ@sFQAsGQBsHQCsI\JO�\LO�O�QD2QE2sO\-O�2QF2sQQGsRQHsSQIsTQJsUQKsVQLsWQMsXQNsYQOsZQPs[QQs\QRs]QSs^\_O�2O�QT29%c!\_O�2O�QU2sc\dQx2Qx6gse\JO�\c9%c\eQV2QW2sfQXsgQYshQZsi\j\JO�\kQ[2\-O�Q\222smQ]sn\oQ^2sp\oQ_2sqQ`Qa\r2ssQbstQcsuQdsvQeswQfsxQgsyQhszQis{Qjs|Qks}Qls~\-O�Qm2sQns�Qos�Qps�Qqs�Qrs�Qss�Qts�Qus�Qvs�Qws�Us�P!)y�BuiltinTestc���So[OV2o[OU2oUO[	U2[	U22UO[U2U2[OU2o[
U2[OV2o[OU2oUO[U2UQ*2P![cP!h9h)N�rsNN)�pickle�dumps�loads�assertEqual�type�list�next�
StopIteration)r0�it�seq�proto�itorgrls&&&&  r'�check_iter_pickle�BuiltinTest.check_iter_pickle�s������L�L��#��
�\�\�!�_������e��d�2�h�/�����b��3�'��\�\�!�_��	���H�
�L�L��#��
�\�\�!�_������b��3�r�7�+��	�	��	�s�C!�!	C0�+C0�/C0c
�R�[Q2[Q2[Q2[QQ5[Q]Q5UO[[Q2UO[[]]]]2UO[[P2UO[[QQQ5UO[29^tt^2UO[[PQPQPQQ	--Q]Q
5PPP2UO[[Q2P!)%fhK-9h)
�sys�time�string��name)r��level�spamspam�__package__�__spec__r�__main__)�locals�fromlistr�zstring)�foo)�
__import__�assertRaises�ModuleNotFoundError�	TypeError�
ValueError�assertWarns�
ImportWarning�ImportErrorr7s&r'�test_import�BuiltinTest.test_import�s����5���6���8�������a�(����-�z�:�F����)�Z��A�q�!�<����*�j�"�5����)�Z��U��C�
�
�
�m�
,�
,����k�:�r�,�d�J��j�R\�]�%'�(�!�
�
E�-�
	
���-�z�<�H�-�
,�s�
'D�D&	�D&	c��UO[]2]2UO[Q2Q2UO[Q2Q2UO[[O']*
2]6�2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[[Q2UO[P	2]2UO[P
2]2UO[[2UO[[P2QQ[2oUO[U22Q	2P!)
r���g��Q�	@�ac�(`�\sQs]�snQsQsUsP!)�&BuiltinTest.test_abs.<locals>.AbsClassc��Q!)����rr7s&r'�__abs__�.BuiltinTest.test_abs.<locals>.AbsClass.__abs__�s���	r&r)rr r!r"r�r%rDrEs@r'�AbsClassr�������
�
r&r�i.���g��Q�	�r�)r��abs�
assertTruer��maxsizer�r��object)r0r�s& r'�test_abs�BuiltinTest.test_abs�s������Q���#�����T��D�)�����U��T�*�����S�[�[�L��N�+�a�/�0�����S��3�'�����T��D�)�����U��T�*����)�S�#�.�����T��A�&�����U��Q�'����)�S�)����)�S�$�/�	�v�	�	
����X�Z��"�-r&c���UO[,QN2P	2UO[,QN2P
2UO[[][	2],2UO[[[22UO[[]
2UO[[2UO[[,QN,2UO[,2P	2UO[][	2,2P
2]2]<,oSO[9PIcQU2D%cJP
L	P	LQU22P	2,QNoSO[9PIcQU2D%cJP
L	P	LQU22P
2]2](]<[	2,oSO[9PIcQU2D%cJP
L	P	LQU22P
2P!)�c3�6�SF �D
p]*6�w�	J	P!3h��*r��.0�xs& r'�	<genexpr>�'BuiltinTest.test_all.<locals>.<genexpr>����Q���Q���V�Q���c3�6�SF �D
p]*6�w�	J	P!3hr�rr�s& r'r�r��r�r�c3�6�SF �D
p]*6�w�	J	P!3hr�rr�s& r'r�r��r�r��r���)r�Nr�)�2�(�<)r��allr�r`r]rfr��r0�Ss& r'�test_all�BuiltinTest.test_all�sc������Y���.�����\�*�E�2����,��a��1B�A�-F�G����,��_�->�?����)�S�"�-����)�S�)����)�S�)�R�8�����R��$�'�����a��!2�3�4�e�<�
��H�������/�Q�/����/�Q�/�/��6��������/�Q�/����/�Q�/�/��7�
��R��*�+�������/�Q�/����/�Q�/�/��7r&c���UO[,QN2P
2UO[,QN2P	2UO[[P[	2],2UO[[[22UO[[]
2UO[[2UO[[,QN,2UO[,2P
2UO[][	2,2P	2,QNoSO[9PIcQU2D%fJP	L	P
LQU22P	2](]<][	2,oSO[9PIcQU2D%fJP	L	P
LQU22P	2,QNoSO[9PIcQU2D%fJP	L	P
LQU22P
2P!)	Nc3�6�SF �D
p]*6�w�	J	P!3hr�rr�s& r'r��'BuiltinTest.test_any.<locals>.<genexpr>�r�r�c3�6�SF �D
p]*6�w�	J	P!3hr�rr�s& r'r�r��r�r�c3�6�SF �D
p]*6�w�	J	P!3hr�rr�s& r'r�r��r�r�)NNN)Nr�Nr�)r�r��)�
�r�)r��anyr�r`r]rfr�r�s& r'�test_any�BuiltinTest.test_any�sa������/�0�%�8�����_�-�t�4����,��d�O�4E�q�-I�J����,��_�->�?����)�S�"�-����)�S�)����)�S�)�R�8�����R��%�(�����a��!2�3�4�d�;��������/�Q�/����/�Q�/�/��6�
��R��*�+�������/�Q�/����/�Q�/�/��6��������/�Q�/����/�Q�/�/��7r&c��QoQoQoQoQoVV4U,oSFDkoUOOTt,tFD,o[U[UO22%fJ*UMJ.	o	oUO	[U	2]2Jm	[[[[[1o
QrQrQrQr	Q	r
STt,tFD	pw2MJ	ooU
vrrrr	r
UO	U,QN2[[[[[1o
Q
9[mrQ9[mrQ9[mrQ
9[m	r	Q9[m
r
STt,tFD	pw2MJ	ooU
vrrrr	r
U
v[m[m[m[m	[m
UO	U,QN2P!ttohttohS
vrrrr	r
h9httohS
vrrrr	r
S
v[m[m[m[m	[m
h9h)c�r�[9PIcQ,QN2D%cJP
!	P	!Q,QN22!)c3�>�SF �Dp]*
w�	J	P!3h�r�rr�s& r'r��VBuiltinTest.test_all_any_tuple_list_set_optimization.<locals>.f_all.<locals>.<genexpr>���G���G�q��s�s�G����rsr���r�rr&r'�f_all�CBuiltinTest.test_all_any_tuple_list_set_optimization.<locals>.f_all�+���3�,�G�,�3�3�,�3�,�3�,�G�,�,�,r&c�r�[9PIcQ,QN2D%fJP	!	P
!Q,QN22!)c3�>�SF �Dp]*
w�	J	P!3hrrrr�s& r'r��VBuiltinTest.test_all_any_tuple_list_set_optimization.<locals>.f_any.<locals>.<genexpr>r�r�r��r�rr&r'�f_any�CBuiltinTest.test_all_any_tuple_list_set_optimization.<locals>.f_anyr�r&c�b�[9PIc,Q,QN2DMJ	3!Q,QN22!)c3�@�SF �Do]U*w�	J	P!3hr�rr�s& r'r��XBuiltinTest.test_all_any_tuple_list_set_optimization.<locals>.f_tuple.<locals>.<genexpr>s��g���g���1���g���r���tuplerr&r'�f_tuple�EBuiltinTest.test_all_any_tuple_list_set_optimization.<locals>.f_tuples&���5�.�g�.�5�5�.�5�.�g�.�.�.r&c�`�[9PIc,Q,QN2DMJ	!Q,QN22!)c3�@�SF �Do]U*w�	J	P!3hr�rr�s& r'r��WBuiltinTest.test_all_any_tuple_list_set_optimization.<locals>.f_list.<locals>.<genexpr>
s��W���W���!���W�r�r��r�rr&r'�f_list�DBuiltinTest.test_all_any_tuple_list_set_optimization.<locals>.f_list	s$���4�-�W�-�4�-�4�-�W�-�-�-r&c�`�[9PIc.Q,QN2DjJ	!Q,QN22!)c3�@�SF �Do]U*w�	J	P!3hr�rr�s& r'r��VBuiltinTest.test_all_any_tuple_list_set_optimization.<locals>.f_set.<locals>.<genexpr>
s��G���G�q�q��s�s�G�r�r���setrr&r'�f_set�CBuiltinTest.test_all_any_tuple_list_set_optimization.<locals>.f_sets$���3�,�G�,�3�,�3�,�G�,�,�,r&c��Q!r�r�r�s&r'�<lambda>�FBuiltinTest.test_all_any_tuple_list_set_optimization.<locals>.<lambda>���Ur&c��Q!r�rrs&r'rrrr&c��Q!r�rrs&r'rrs��wr&c��Q!r�rrs&r'rrs��fr&c��Q!r�rrs&r'rr rr&c��Q!r�rrs&r'rr*���Er&c��Q!r�rrs&r'rr+r
r&c��Q!r�rrs&r'rr,s��r&c��Q!r�rrs&r'rr-s��fr&c��Q!r�rrs&r'rr.r
r&)r�r�r�r�r)�__code__�	co_consts�
isinstancer�r�r6r�r�r�r�r�builtins)r0r�r�r�r�r�funcs�f�c�	code_objs�saved�overridden_outputss&           r'�(test_all_any_tuple_list_set_optimization�4BuiltinTest.test_all_any_tuple_list_set_optimization�s���	-�	-�	/�	.�	-��w��6���A�$%�J�J�$8�$8�\�$8�q�J�q�$�q�z�z�JZ�<[���$8�I�\����S��^�Q�/���S�%��s�*��		/�"�C�"�C�&�E�$�D�"�C�/4�!5�u�!�!�#�u��!5�).�&�C��e�T�3����+�-S�T��S�%��s�*��
	\�!1�1�H�L�3�!1�1�H�L�3�%7�7�H�N�U�#4�4�H�M�D�!1�1�H�L�3�/4�!5�u�!�!�#�u��!5�).�&�C��e�T�3�V[�S�H�L�(�,����
�x�|����+�-S�T��E]��"6��).�&�C��e�T�3��"6��).�&�C��e�T�3�V[�S�H�L�(�,����
�x�|�sH�)F0�!F0�$F:�6F5�F:�A	G�
G�G�5F:�:
G�G�?Hc�J�QoQoQoQoQoVV4U1FDaoUOUOQ59^tt^2UO[29^tt^2[	U2PPP2PPP2Jc	P!)%fhK9h)%fhJ�9h)c��. �[Q,22!3h)c�L�SF �Do]EPiw�K
3w�	J	P!K3hr�r�r��_s& r'r��VBuiltinTest.test_builtin_call_async_genexpr_no_crash.<locals>.f_all.<locals>.<genexpr>9�������1�Q�w�w�w��w���$�"
�$r�rr&r'r��CBuiltinTest.test_builtin_call_async_genexpr_no_crash.<locals>.f_all8�����+��+�+�+���c��. �[Q,22!3h)c�L�SF �Do]EPiw�K
3w�	J	P!K3hr�rr!s& r'r��VBuiltinTest.test_builtin_call_async_genexpr_no_crash.<locals>.f_any.<locals>.<genexpr><r$r%r�rr&r'r��CBuiltinTest.test_builtin_call_async_genexpr_no_crash.<locals>.f_any;r'r(c��. �[Q,22!3h)c�L�SF �Do]EPiw�K
3w�	J	P!K3hr�rr!s& r'r��XBuiltinTest.test_builtin_call_async_genexpr_no_crash.<locals>.f_tuple.<locals>.<genexpr>?s��"���"�Q�q����"��r%r�rr&r'r��EBuiltinTest.test_builtin_call_async_genexpr_no_crash.<locals>.f_tuple>s����-�"�-�-�-�r(c��. �[Q,22!3h)c�L�SF �Do]EPiw�K
3w�	J	P!K3hr�rr!s& r'r��WBuiltinTest.test_builtin_call_async_genexpr_no_crash.<locals>.f_list.<locals>.<genexpr>Bs������A�a������r%r�rr&r'r��DBuiltinTest.test_builtin_call_async_genexpr_no_crash.<locals>.f_listAs����,��,�,�,�r(c��. �[Q,22!3h)c�L�SF �Do]EPiw�K
3w�	J	P!K3hr�rr!s& r'r��VBuiltinTest.test_builtin_call_async_genexpr_no_crash.<locals>.f_set.<locals>.<genexpr>Er$r%r�rr&r'r�CBuiltinTest.test_builtin_call_async_genexpr_no_crash.<locals>.f_setDr'r()�func)�subTestrr�r�r)r0r�r�r�r�rrs&      r'�(test_builtin_call_async_genexpr_no_crash�4BuiltinTest.test_builtin_call_async_genexpr_no_crash7s|��	,�	,�	.�	-�	,����7�A����1�:�:��.�.��&�&�y�1�1�)�!�,�2�/�.�8�1�1��/�.�.�s/�B	�A>
�(B	�>B�B�	B	�B"
�B"
c��`�RO[P2Q2RO[]2Q2RO[Q2Q2RO[,2Q2RO[-2Q2,oUOU2RO[U2Q2-oV]$RO[U2Q2U1QkoUQ	2UQ
2UQ2UQ2UQ
2UQ2UQ2UQ2UQ2UQ2RO[Q2Q2QoRO[U2Q2P!)��''�0�()�[]�{}�[[...]]�
{0: {...}}c�R:�RO[U2[U22P!r+)r��ascii�repr)�sr0s&�r'�
_check_uni�*BuiltinTest.test_ascii.<locals>._check_uniYs������U�1�X�t�A�w�/r&�'�"z"'�z
	 .�…u῿u𒿿u�u�u𝄡z'\U0001d121'u'"

	 abcd…é𒿿�𝄡xxx.z:'\'\x00"\n\r\t abcd\x85\xe9\U00012fff\ud800\U0001d121xxx.'r)r�rGr=)r0r�rJrIsf   r'�
test_ascii�BuiltinTest.test_asciiLs2�������r��F�+�����q��3�'�����r��D�)�����r��D�)�����r��D�)���	���������q��9�-����!������q��<�0�	0��3���3���5���4���:���6���8���<� ��8���8��	
����|�,�o�>�B������q��M�	Or&c���[O']*
oUO[U[22UOU'[O]*2P!rr)r�r�r�r�intr��r0r�s& r'�test_neg�BuiltinTest.test_negos>��
�[�[�L��N�����
�1�c�*�+����!��S�[�[��]�+r&c���UO[[22UO[Q22UO[[22UO[Q22UO[[22QoUO[U22QQ2oUO[U22U2oUO[UO
22UO[U22PUmUO[U22QUmUO[U22U;UO[U22QQ[2oU2oUO[U22PUmUO[U22QQ	U2oU2oUO[U22P!)
r�c��V*!r+r�r��ys&&r'r�+BuiltinTest.test_callable.<locals>.<lambda>xs��a�er&c��P!r+rrr&r'r�$BuiltinTest.test_callable.<locals>.fz���r&c�(`�\sQsQsnQsQsUsP!)�%BuiltinTest.test_callable.<locals>.C1�}c��P!r+rr7s&r'�meth�*BuiltinTest.test_callable.<locals>.C1.meth~s��Dr&r)rr r!r"rcr%rDrEs@r'�C1r`}s���� � r&rec��]!r;rr7s&r'rr[�s��!r&c�(`�\sQsQsnQsQsUsP!)�%BuiltinTest.test_callable.<locals>.C2�c��P!r+rr7s&r'�__call__�.BuiltinTest.test_callable.<locals>.C2.__call__�s��r&r)rr r!r"rkr%rDrEs@r'�C2rh�s����$�$r&rmc��\sQsQsQsP!)�%BuiltinTest.test_callable.<locals>.C3�r�rr r!r"r%rr&r'�C3ro�s��dr&rr)r��callabler6�assertFalse�__builtins__rcrkr�)r0rrerrm�c2rr�c3s&       r'�
test_callable�BuiltinTest.test_callabletsY�������
�&�����#��'������*�+�����!3�4�5�����,�/�0��������$�	!�	!�������%��D���������(�)�����!��%���
�����!��%�#��
�����!��%�
�J�����!��%�	%��	%�
�T��������%����������%����
�T��������%r&c��UO[]2Q2UO[] 2Q2UO[]A2Q2UO[]a2Q2UO[]�2Q2UO[[2UO[[Q2UO[Q2Q2UO[Q	2Q
2UO[Q2Q2UO[Q
2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[[P2UO[[Q2UO[[Q2UO[[Q2UO[[Q2UO[[]Q*2UO[[]Q*'2P!)rrNrZ�Ar��ÿg@P@��￿��𐀀��𐀁��󿿾��󿿿��􀀀��􀀁��􏿾��􏿿i��il��l����)r�rtr�r�r�r7s&r'�test_chr�BuiltinTest.test_chr�s�������Q���&�����R��#�&�����R��#�&�����R��#�&�����T��F�+����)�S�)����)�S�$�/�����Z��,�7�����Z��,�7�����Z��,�7�����Z��,�7�����Z��,�7�����Z��,�7�����Z��,�7�����Z��,�7�����Z��,�7����*�c�2�.����*�c�:�6����*�c�5�1����*�c�7�3����*�c�6�2����*�c�1�d�7�3����*�c�A�t�G�8�4r&c�4�UO[Q2P!)�cmp)�assertNotHasAttrrr7s&r'�test_cmp�BuiltinTest.test_cmp�s�����h��.r&c
�R�[QPQ2Qo[UQ*PQ2[QQQQ5[P
QQQ	Q
5[QQP	QQ5[[Q2Q
Q2UO[[2UO[[QQQ2UO[[QQQ]�2UO[[QQQQ	QQQ5[QPQ2UO[
[[
]2QQ2UO[[[Q2QQ2QoQoPP	UOP	P	1QQQ,oSFD�uqVUOUQ59^tt^2,oUO[UQQUQ52[OV%Q5oUO[UQQUQ52SFD9o	-o
[V�2U
Q*2oUOU[U22J;	PPP2J�	P!)%fhJ�9h)z	print(1)
�exec�s	print(1)
�pass�?)�source�filename�mode�tmpr@�eval)�dont_inheritr�r�r�)r�r�stextr�z
print(42)
�<string>�badmode�single)r�r�r�uprint("å")
rza = 1�badaJdef f():
        """doc"""
        debug_enabled = False
        if __debug__:
            debug_enabled = True
        try:
            assert False
        except AssertionError:
            return (True, f.__doc__, debug_enabled, __debug__)
        else:
            return (False, f.__doc__, debug_enabled, __debug__)
        c��P!)�docrrr&r'r�#BuiltinTest.test_compile.<locals>.f�s�r&)�optvalz<test>��optimize)rTr�TT)rsFr�FF)r�FNFF)�compile�
memoryviewr�r�r��SyntaxErrorrtrN�__doc__r:r=�ast�parser�r�r�)r0�bom�codestrr�valuesr��expected�codeobjs�tree�code�ns�rvs&           r'�test_compile�BuiltinTest.test_compile�s�����b�&�)�����m�#�R��0��v��&�9��U�U�3�V�L����$�V�<��
�7�#�V�V�4����)�W�-����*�g�}�j�)�T����*�g�}�j�(�TX�Y����)�W�f�c�6�%�c�E�	�	C��!�2�v�.����+�w��A���V�D����*�g�s�7�|�S�%�H���	��y�!�)�)�Y�	�B�.�1�0�2��"(��F����V��,�,���������6�F� S�T��y�y��:�������h��� P�Q�$�D��B���N��C���B��$�$�R��x��9�	%�
-�,�"(�,�,�,�s�1BH	�H&
�H&
c
���Qo,QNo[V2FD`vq4[U2o[UQU[OQ5oUOUO[*[QUQU0Q5Jb	P!)zCMake sure top level non-await codes get the correct coroutine flagsr���flags�source=� mode=��msg�r�r�)z
def f():pass
z[x for x in l]z{x for x in l}z(x for x in l)z{x:x for x in l})rrr�r��PyCF_ALLOW_TOP_LEVEL_AWAIT�assertNotEqual�co_flagsr)r0�modes�code_samplesr��code_sampler��cos&      r'�$test_compile_top_level_await_no_coro�0BuiltinTest.test_compile_top_level_await_no_coro�s{��"��
��")��!=��D��K�(�F���� �"%�"@�"@�B�B�

������l� :�L�&-�f�X�V�D�6�$B�
 �
D�">r&c
�``�QoQQ2oQQkoQoQo,QNo[VFU2FCD.vqxo	UOVxU	Q59^tt^2[U2o
UO[QU
QU0Q59^tt^2[U
Q	VyQ
5PPP2[U
Q	U[OU	Q5nUORO[*[QU
QU0Q5QUQ]Q
UQU-n[[RR22UORQ*]2QUQ]Q
UQU-n[UU1Qk2UORQ*]2PPP2CJ1	P!)%fhK�9h)%fhCJZ9h)a!Test whether code with top level await can be compiled.

Make sure it compiles only with the PyCF_ALLOW_TOP_LEVEL_AWAIT flag
set, and make sure the generated code object has the CO_COROUTINE flag
set in order to execute it with  `await eval(.....)` instead of exec,
or via a FunctionType.
c�B �[U2FD	oU3w�	J	P!3hr+��range�r@r?s& r'�arange�8BuiltinTest.test_compile_top_level_await.<locals>.arange�����1�X�������c�.`�\sQsQsnQsQsQsUsP!)�6BuiltinTest.test_compile_top_level_await.<locals>.Lock�c�� �U!3hr+rr7s&r'�
__aenter__�ABuiltinTest.test_compile_top_level_await.<locals>.Lock.__aenter__�
�������c�� �P!3hr+r�r0�exc_infos&*r'�	__aexit__�@BuiltinTest.test_compile_top_level_await.<locals>.Lock.__aexit__
�����r�r�rr r!r"r�r�r%rDrEs@r'�Lockr������
�
�
r&r�c��P �U]6XfPg[P2EPiw�K
U!K3hr;)r)�delay�results&&r'�sleep�7BuiltinTest.test_compile_top_level_await.<locals>.sleep
s)����A�:��:��d�#�#�#��M�
$�s�&�&�$�&)r�r�r�r�r�r�r�r�)r�r�r�r�r�c�:�[RR2!r+)r�)r��globals_s��r'r�:BuiltinTest.test_compile_top_level_await.<locals>.<lambda>Is���d�2�x�.@r&r+r�)���rrsr�)za = await sleep(0, result=1)z2async for i in arange(1):
                   a = 1z0async with Lock() as l:
                   a = 1z#a = [x async for x in arange(2)][1]z%a = 1 in {x async for x in arange(2)}z%a = {x:1 async for x in arange(1)}[0]z<a = [x async for x in arange(2) async for x in arange(2)][1]z6a = [x async for x in (x async for x in arange(5))][1]z.a, = [1 for x in {x async for x in arange(1)}]z3a = [await sleep(0, x) async for x in arange(2)][1]z assert not await sleep(0); a = 1z*assert [x async for x in arange(1)]; a = 1z*assert {x async for x in arange(1)}; a = 1z-assert {x: x async for x in arange(1)}; a = 1zu
            if (a := 1) and __debug__:
                async with Lock() as l:
                    pass
            zw
            if (a := 1) and __debug__:
                async for x in arange(2):
                    pass
            )
rr:rr�r�r�r�r�r�r�rrr)
r0r�r�r�r��
optimizationsr�r�r�r�r�r�r�s
&          @@r'�test_compile_top_level_await�(BuiltinTest.test_compile_top_level_await�s����	�	�	�	�
#��%�
�
��<,3�5�
�+V�+V�'�D�x����4�8��T�T���,���&�&�#�7�6�(�&���)G�'�I�I��F�C��A�I��V�� �"%�"@�"@�%-�	/��� � ����|�!;�\�&-�f�X�V�D�6�$B�!�D�#�D�#�q�(�F�G�U�S��%�l�2�x�&@�A�� � ��#���2�#�D�#�q�(�F�G�U�S��%�&@�A�� � ��#���2�/U�T�,W�I�I��U�T�T�s1�
1E3	�>E 
�
CE3	� E0�)E0�+E3	�3F
�<F
c���QoQQ2oQo,Q	No[V42FD�vqV[U2oUO[QUQU0Q59^tt^2[	UQU2PPP2UO[QUQU0Q59^tt^2[	UQU[
OQ5oPPP2J�	P!)%fhKa9h)%fhJ�9h)
c�B �[U2FD	oU3w�	J	P!3hr+r�r�s& r'r��FBuiltinTest.test_compile_top_level_await_invalid_cases.<locals>.arangeNr�r�c�.`�\sQsQsnQsQsQsUsP!)�DBuiltinTest.test_compile_top_level_await_invalid_cases.<locals>.Lock�Rc�� �U!3hr+rr7s&r'r��OBuiltinTest.test_compile_top_level_await_invalid_cases.<locals>.Lock.__aenter__Sr�r�c�� �P!3hr+rr�s&*r'r��NBuiltinTest.test_compile_top_level_await_invalid_cases.<locals>.Lock.__aexit__Vr�r�rr�rEs@r'r�r�Rr�r&r�r�r�r�r�r�r�)zdef f():  await arange(10)
z(def f():  [x async for x in arange(10)]
z.def f():  [await x async for x in arange(10)]
z_def f():
                   async for i in arange(1):
                       a = 1
            z]def f():
                   async with Lock() as l:
                       a = 1
            )rrr�r�r�r�r�)	r0r�r�r�r�r�r�r�r�s	&        r'�*test_compile_top_level_await_invalid_cases�6BuiltinTest.test_compile_top_level_await_invalid_casesLs���	�	�	�#��
��")��!=��D��K�(�F��"�"��w�v�h�f�T�F�%C�#�E�E����T�*�E��"�"��w�v�h�f�T�F�%C�#�E�E��V���"�=�=�?��E�E�
">�E�E��E�E�E�s$�B=	�C	�=C

�C

�C!
�C!
c���[Q2o[UQQ[OQ5o-o[	V#2UO[
UQ*22[2P!)z�
With the PyCF_ALLOW_TOP_LEVEL_AWAIT flag added in 3.8, we want to
make sure AsyncGenerators are still properly not marked with the
CO_COROUTINE flag.
zvasync def ticker():
                for i in range(10):
                    yield i
                    await sleep(0)r�r�r��ticker)rr�r�r�r�r�r�r)r0r�r��globs&   r'�test_compile_async_generator�(BuiltinTest.test_compile_async_generatortsT���&�'��
�T�3��c�.L�.L�
M�����R������d�8�n�.�/�1C�Dr&c�T�Qo[UQ[O-O]*o[UQ[O-O]*o[[O
U]*2,UQ*N3Q[O-O]*oV#U1FD�oUO
UO[O2UO
UOO[O2UO
UOO[O2UOUOOOQ2J�	UOOoUO
U[O2UOUOQ2V41FDUoUOOoUO
U[O 2UOUOP	2JW	P!)�a*__debug__r�r}r��	__debug__)rzf.pyr�)r�r��
PyCF_ONLY_AST�body�PyCF_OPTIMIZED_ASTr��assertIsInstance�value�BinOp�op�Mult�left�Namer��id�right�Constant)	r0rx�raw�opt1�opt2r��	raw_right�opt�	opt_rights	&        r'�test_compile_ast�BuiltinTest.test_compile_ast�ss��.���t�7�S�%6�%6�7�<�<�Q�?����=�c�&<�&<�=�B�B�1�E���s�y�y��a��)�U�D��H�U�c�>T�>T�U�Z�Z�[\�]����%�D��!�!�$�*�*�c�i�i�8��!�!�$�*�*�-�-����:��!�!�$�*�*�/�/�3�8�8�<����T�Z�Z�_�_�/�/��5�	&��I�I�O�O�	����i����2�������{�3��<�C��	�	���I��!�!�)�S�\�\�:����Y�_�_�i�8� r&c��][m[[Q2UO[[2UO[[[2QoUO[U[[]2P!)rs�spam�*^attribute name must be string, not 'int'$)r�r�delattrr�r��assertRaisesRegex�r0r�s& r'�test_delattr�BuiltinTest.test_delattr�sP�������V�����)�W�-����)�W�c�2�;�����y�#�w��Q�?r&c�
�UO[[]*]*2]oUOQ[22UOQ[[22QQ[
O2oUQ2oUO[[U2UOQ[[22UOQ[[22QQ[2oU2oUOQ	[U22Q
Q[2oU2oUOQ[U22QQ[2oU2oUOQ[U22UOQ
[U22QQ[2oU2oUO[U2,QN6H2QQ[2o[U22oUOU[2UOU,QN6H2QQ[2o[U22oUOU[2UO[U2,QN2QQ[2oU2oUO[[U2[g[c9oSO[![SO"22]2Po=LPo=hh9hSO[,O%22[,22P!)r��	local_var�exitc��\sQsQs]sQsP!)�!BuiltinTest.test_dir.<locals>.Foo�r)rr r!r"�__dict__r%rr&r'�Foor)�s���Hr&r,r��strip�__mro__c�(`�\sQsQsnQsQsUsP!)r)�c�2�]Um]Um]	UmP!���r�rZ�zr7s&r'r1�*BuiltinTest.test_dir.<locals>.Foo.__init__�s����������r&r4)rr r!r"r1r%rDrEs@r'r,r)�s����
�
r&rZc��\sQsQs,sQsP!)r)�r)rr r!r"�	__slots__r%rr&r'r,r)�s���Ir&�__repr__c�0`�\sQsQsnQQ,sQsQsUsP!)r)���	__class__r+c��QUmP!)�wow��barr7s&r'r1r6�s	�� ��r&r@)rr r!r"r9r1r%rDrEs@r'r,r)�s����$�j�1�I�
!�
!r&rAc�(`�\sQsQsnQsQsUsP!)r)��c��,QN!)�kan)rE�ga�roorr7s&r'�__dir__�)BuiltinTest.test_dir.<locals>.Foo.__dir__�s��+�+r&r�rr r!r"rHr%rDrEs@r'r,r)�s����
,�
,r&c�(`�\sQsQsnQsQsUsP!)r)��c��Q!)�b)rNrr�rr7s&r'rHrI�s��&�&r&rrJrEs@r'r,r)������
'�
'r&c�(`�\sQsQsnQsQsUsP!)r)��c��.Ql!)rN>r�rNrrr7s&r'rHrI�s��&�&r&rrJrEs@r'r,r)�rOr&c�(`�\sQsQsnQsQsUsP!)r)��c��]!r2rr7s&r'rHrI����r&rrJrEs@r'r,r)�s����
�
r&)rFrErG�r�rNr)r�r��dir�assertInr��types�
ModuleTyperN�assertNotInr�r�rr�r��sortedr<r6�
__traceback__rH)r0r&r,r�res�es&     r'�test_dir�BuiltinTest.test_dir�sC�����)�S�"�b�1��	��
�
�k�3�5�)�	
�
�
�f�c�#�h�'�	�%�"�"�	���J�����)�S�!�,�	
�
�
�g�s�3�x�(�����C��H�-�	�&�	�

�E���
�
�c�3�q�6�"�	�&�	��E���
�
�j�#�a�&�)�	!�&�	!�
�E������S��V�,��
�
�e�S��V�$�	,�&�	,�
�E������A��"6�6�7�	'�&�	'��#�%�j�����c�4�(������.�/�	'�&�	'��#�%�j�����c�4�(�������o�6�	�&�	�
�E�����)�S�!�,�	;�����	;����S��Q�_�_�!5�6��:�:��	;��	
�����
�
��-�s�2�w�7s�J�	K�K�.K	�	Kc���UOPOP22UOPO]2[2UOPOQ2[2P!)N�abc)rt�__ne__�assertIs�NotImplementedr7s&r'�test___ne__�BuiltinTest.test___ne__�sF��������T�*�+��
�
�d�k�k�!�n�n�5��
�
�d�k�k�%�(�.�9r&c���UO[]]2Q2UO[Q]2Q2UO[]Q2Q2UO[QQ2Q2UO[[O']*
P2[O]*]12Q	FDQvqo[V2oUO	U]*U]*2UO	U]*U]*2JS	UO[[2UO[Q[]]2UO[Q[Q]2P!)
�zdivision by zeror�)rsr�i�)���r�i����)rlrl)rsr�))�
@��?)�@g�?)�
�rn)��g�?)rm��)rqg�)rprr)rogп)	r��divmodr�r��assertAlmostEqualr�r�r!�ZeroDivisionError)r0�num�denom�
exp_resultr�s&    r'�test_divmod�BuiltinTest.test_divmod�s!�������A���/������Q���1������B���2������R��'�2���������Q���3�c�k�k�!�m�Q�5G�H�'E�"�C�
��C�'�F��"�"�6�!�9�j��m�<��"�"�6�!�9�j��m�<�
'E�	
���)�V�,�������A�q�	
�
	
������C��	
r&c��UO[Q2]2UO[Q2]2Q]Q]-oQ]�QQ-oUO[QU2]2UO[QV2]2UO[QV2]�2UO[QV2Q2Q]Q]-oQ]�QQ-oQoUO[UQ*V2]2UO[QU2Q	2UO[[2UO[[Q2UO[[UQ
*Q*2QQ2oUO[
[Q
-U22P!)�1+1z 1+1
r�rNr�,r��au"å"�å�Nr�Nc�(`�\sQsQsnQsQsUsP!)� BuiltinTest.test_eval.<locals>.X�)c��[gr+�r��r0�keys&&r'rA�,BuiltinTest.test_eval.<locals>.X.__getitem__*��� � r&r�rr r!r"rAr%rDrEs@r'�Xr�)�����
!�
!r&r�r�r)r�r�r�r�r�r�)r0�globalsr�r�r�s&    r'�	test_eval�BuiltinTest.test_evalsU������e��a�(�����h���+���3��"���s�C��%������c�7�+�a�0�����c�7�3�Q�7�����c�7�3�S�9�����c�7�3�S�9���3��"���s�C��%��������c�D�j�'�:�A�>�����h��0�&�9����)�T�*����)�T�2�.����+�t�S��W�t�^�<�	!�	!�	
���*�d�E�2�q�s�;r&c��[],[Q5o[QV2UOUQ*],2[2oQoUO	[
U29^tt^2[PV2PPP2P!)%fhP!9h)rs�r��dataru�data.append(x)r��0cannot assign __builtins__ to frozendict globals)�
frozendictrur�r�r!r��r0r��errmsgs&  r'�test_eval_frozendict� BuiltinTest.test_eval_frozendict.si��
�!�"�<�
@���
�r�&�����F��a�S�)�
�\��C��
�
#�
#�I�v�
6�
6���R��7�
6�
6�
6�s�$
A;�;B	�B	c��QQ-oUO[QUQ5Q2UO[QUQ5]{2P!)�A_GLOBAL_VALUE��zglobals()['A_GLOBAL_VALUE']�r��r�)r�r��r0r�s& r'�test_eval_kwargs�BuiltinTest.test_eval_kwargs8s<�� �#�&������;�T�J�C�P�����;�D�I�3�Or&c��QQ2oU2o[2oUO[QV22]2UO[[QV22UO[QV22[Q22UO[QV22U2UO[QV22U2UO[[QU2QQ	2oU2oUO[[QV22Q
Q[2oU2oUO[QV62]2UO[[QV62UO[QV62[Q22UO[QV62U2UO[QV62U2[QV62[QU[O22Q
Q2oU2oQUQ$QUQ$QUQ$UOUQ*]�2QQ2o	UO[[Q[2U	22P!)c�2`�\sQsQsnQsQsQsQsUsP!)�(BuiltinTest.test_general_eval.<locals>.M�@z9Test mapping interface versus possible calls from eval().c�"�UQ6Xc]![g�r���KeyErrorr�s&&r'rA�4BuiltinTest.test_general_eval.<locals>.M.__getitem__Bs���#�:���r&c��[Q2!��xyzr�r7s&r'�keys�-BuiltinTest.test_general_eval.<locals>.M.keysF����E�{�"r&r)	rr r!r"r�rAr�r%rDrEs@r'�Mr�@s����G�
�
#�
#r&r�r�rNzdir()r�z	globals()zlocals()c��\sQsQsQsQsP!)�(BuiltinTest.test_general_eval.<locals>.A�QzNon-mappingr)rr r!r"r�r%rr&r'r{r�Qs���r&r{c�.`�\sQsQsnQsQsQsUsP!)�(BuiltinTest.test_general_eval.<locals>.D�Xc�@�UQ6Xc]![OV2!r�)�dictrAr�s&&r'rA�4BuiltinTest.test_general_eval.<locals>.D.__getitem__Ys���#�:���'�'��2�2r&c��[Q2!r�r�r7s&r'r��-BuiltinTest.test_general_eval.<locals>.D.keys]r�r&r�rr r!r"rAr�r%rDrEs@r'�Dr�Xs����
3�
#�
#r&r�z[locals() for i in (2,3)]c�6`�\sQsQsnQs-sQsQsQsUs	P!)�2BuiltinTest.test_general_eval.<locals>.SpreadSheet�kz6Sample application showing nested, calculated lookups.c�$�V OU$P!r+)�_cells)r0r��formulas&&&r'�__setitem__�>BuiltinTest.test_general_eval.<locals>.SpreadSheet.__setitem__ns��#*���C� r&c�P�[UOU*[2U2!r+)r�r�r�r�s&&r'rA�>BuiltinTest.test_general_eval.<locals>.SpreadSheet.__getitem__ps���D�K�K��,�g�i��>�>r&r)
rr r!r"r�r�r�rAr%rDrEs@r'�SpreadSheetr�ks����D��F�
+�
?�
?r&r��5�a1za1*6�a2za2*7�a3c�.`�\sQsQsnQsQsQsUsP!)�(BuiltinTest.test_general_eval.<locals>.C�{c��[U2gr+r�)r0�items&&r'rA�4BuiltinTest.test_general_eval.<locals>.C.__getitem__|s���t�n�$r&c��]!rrrr7s&r'r��-BuiltinTest.test_general_eval.<locals>.C.keys~rVr&rr�rEs@r'�Cr�{s����
%�
�
r&r�)
r�r�r�r��	NameErrorr�r�r��collections�UserDict)
r0r��m�gr{r�rlr��ssr�s
&         r'�test_general_eval�BuiltinTest.test_general_eval=s���	#�	#�
�C���I������c�1��"�-����)�T�3��5�����g�q�,�d�5�k�:�����k�1�0�!�4�����j�!�/��3����)�T�3��2�	�	�
�C�����)�T�3��5�	#��	#�
�C������c�1��"�-����)�T�3��5�����g�q�,�d�5�k�:�����k�1�0�!�4�����j�!�/��3�	
�
(�!�/��
(�!�[�-A�-A�-C�D�	?�	?��]����4����4����4������D��3�'�	�	�
	
���)�T�7�G�I�q�s�Cr&c��-o[QU2QU7cUQUOUQ]-2[QU2QU7cUQUOUQ]-2-o-o[29^tt^2[OQQQQ5[QV2PPP2QU7cUQQU7cUQUOV1Q	]-Q
]-12P!)%fhK?9h)zz = 1rur5zz = 1+1�ignorezglobal statementr���modulezglobal a; a = 1; b = 2r�rN)r�r�r�warnings�filterwarnings)r0r��ls&  r'�	test_exec�BuiltinTest.test_exec�s������W�a���Q���.�!�����S�!�H�%��Y����Q���.�!�����S�!�H�%�����
�
�
��#�#�H�.@�%�
'��)�1�0���Q���.�!��Q���.�!����!��3��(�S�!�H�!5�6��
�s�.&C�C	�C	c���[],[Q5o[QV2UOUQ*],2[[Q5oQoUO	[
U29^tt^2[QV2PPP2[2oQoUO	[
U29^tt^2[PV2PPP2P!)%fhKQ9h)%fhP!9h)rsr�r�r�)ruz4'frozendict' object does not support item assignmentzx = 1r�)r�rur�r�r!r�r�s&  r'�test_exec_frozendict� BuiltinTest.test_exec_frozendict�s���
�!�"�<�
@���
�r�&�����F��a�S�)�
�\�
2��G��
�
#�
#�I�v�
6�
6���"�!�7��\��C��
�
#�
#�I�v�
6�
6���R��7�
6�7�
6��
7�
6�
6�s$�*
C�)
C�C	�	C	�C$	�C$	c��-o[QUQ5QU7cUQUOUQ]-2-o[QUQ5UOU-2P!)zglobal z
z = 1r�rur5r�)r�r�)r0r�s& r'�test_exec_kwargs�BuiltinTest.test_exec_kwargs�sX�����
��*��Q���.�!�����S�!�H�%�
���
�q�)�����B�r&c��[QPQ2oUO[Q[UQ--2UO	[
[UQ]{-2P!)zprint('Hello World!')r�zname 'print' is not definedru)r�r!r�r�r�r�)r0r�s& r'�test_exec_globals�BuiltinTest.test_exec_globals�sO���.��F�;�����y�*G�#�T�N�B�+?�	A�	
���)���~�s�&;�	=r&c	�<`�QQ[2nU1QkQ[2o[[[O
2%cU[O2oLU[2o[QQQ2oUOR[UQU-2[QPQ2oUO[Q	[UQ--2[UQU-2UO[Q	[UQU2-2U-2o[Q
QQ2oUOR[V42P!)c��\sQsQsQsP!)�>BuiltinTest.test_exec_globals_frozen.<locals>.frozendict_error�rrqrr&r'�frozendict_errorr�����r&r�c�0:`�\sQsQsnU1QksQsUsP!)�8BuiltinTest.test_exec_globals_frozen.<locals>.frozendict��c�:�RQ2g)zfrozendict is readonlyr)r0r�rr�s&&&�r'r��DBuiltinTest.test_exec_globals_frozen.<locals>.frozendict.__setitem__�s���&�'?�@�@r&r)rr r!r"r�r%rD)rFr�s@�r'r�r��s����
A�
Ar&r�z1__builtins__['superglobal']=2; print(superglobal)�testr�ruz
class A: passz__build_class__ not foundzx=1)�	Exceptionr�rrurZr[r+r�r�r�r!r�)r0r��frozen_builtinsr��	namespacer�s&    @r'�test_exec_globals_frozen�$BuiltinTest.test_exec_globals_frozen�s���	�y�	�	A��	A�
�l�E�$4�$4�5�5�(��)>�)>�?�O�(��6�O��J�F�TZ�[�����*���~��&G�	I����F�3�����y�*E�#�T�N�B�+?�	A�	
�T�N�O�4�5����y�*E�#�T�N�J�L�+I�	K��r�N�	��u�f�f�-�����*���	1r&c
�`�QQ[2nU1QkQ[2o[QQQ2oUOR[V!Q]-22[QQQ2oUOR[UQUQ]-2-2P!)	c��\sQsQsQsP!)�@BuiltinTest.test_exec_globals_error_on_get.<locals>.setonlyerror��rrqrr&r'�setonlyerrorr�r�r&rc�0:`�\sQsQsnU1QksQsUsP!)�?BuiltinTest.test_exec_globals_error_on_get.<locals>.setonlydict��c�
:�Rgr+r)r0r�rs&&�r'rA�KBuiltinTest.test_exec_globals_error_on_get.<locals>.setonlydict.__getitem__�s	���"�"r&rr�)rFrs@�r'�setonlydictr�s����
#�
#r&r�
globalnamer�r��superglobalru)r�r�r�r�r�)r0rr�rs&  @r'�test_exec_globals_error_on_get�*BuiltinTest.test_exec_globals_error_on_get�s����	�9�	�	#�$�	#�
�|�V�V�4�����,���k�<��2C�&D�	F��}�f�f�5�����,��d�)�;�
�q�7I�+J�K�	Mr&c	��QQ[2o[QQQ2o[UQUQ]-2-2UO[Q[UQU2-2P!)c��\sQsQsQsP!)�?BuiltinTest.test_exec_globals_dict_subclass.<locals>.customdict��rrqrr&r'�
customdictr�r�r&rrr�r�ru�!name 'superglobal' is not defined)r�r�r�r!r�)r0rr�s&  r'�test_exec_globals_dict_subclass�+BuiltinTest.test_exec_globals_dict_subclass�sY��	��	��}�f�f�5���T�N�J�
�q�/A�$B�C�D����y�*M�#�T�N�J�L�+I�	Kr&c���[QQQ2oQ[OQ]-2-oUO[	V2]2Q[O-2-oUO[Q[V2P!)rr�r�rur)r�rZ�MappingProxyTyper�r�r!r��r0r�r�s&  r'�test_eval_builtins_mapping�&BuiltinTest.test_eval_builtins_mapping�sk���}�f�f�5���e�4�4�m�Q�5G�H�
I������d���+��e�4�4�R�8�
9�����y�*M�#�T�	/r&c��[QQQ2oQ[O-2-oUO[Q[
V2Q[OQQ-2-o[V2UO
UQ*QV"P]12P!)	zimport foo.barr�r�ruz__import__ not foundr�c��U!r+rrws*r'r�?BuiltinTest.test_exec_builtins_mapping_import.<locals>.<lambda>s��RVr&r�zfoo.bar)r�rZrr!r�r�r�rs&  r'�!test_exec_builtins_mapping_import�-BuiltinTest.test_exec_builtins_mapping_importsz���'���8���e�4�4�R�8�
9�����{�,B�D�$�S��e�4�4�l�DV�5W�X�
Y���T������E��Y���a�$@�Ar&c�D�[QQQ2oQ[O-2Q[]],2-oUO	[
Q[V2Q[OQ[-2Q[]],2-oUO[
V2[]],1]12P!)zx.__reduce__()r�r�rur��iter)r�rZrr$r!�AttributeErrorr�r�rs&  r'�!test_eval_builtins_mapping_reduce�-BuiltinTest.test_eval_builtins_mapping_reduces����'���8���e�4�4�R�8�#�t�Q��F�|�
L�����~�v�t�T�F��e�4�4�f�d�^�D�c�4�QR�TU�PV�<�
X������d��$�!�Q��	�1�)=�>r&c��[OoP[m[Q2U[mP![cKh9hS[mh9h)Nr�)r��stdoutr�r�)r0�
savestdouts& r'�test_exec_redirected� BuiltinTest.test_exec_redirectedsE���Z�Z�
���
�	$���I�$�C�J���	��	��$�C�J�s'�6�	A�A�A�A�A�
Ac�\`�Qo]nU1QkoU2vq4]n[UOUOUOQ5UO	R]2]n[]#2[]H2UO]*1o[UOUOUQ5UO	RQ2UO
[[UOUOUQ5UO
[[UOUOPQ5UO
[[UOUOUOQ5[U2oUO
[[UOUOUQ5[U2oUO
[[Q[Q5UO
[[QUQ5[U2o[U]$[U2oUO
[[UOUOUQ5P!)c��]!�r�rrr&r'�function_without_closures�@BuiltinTest.test_exec_closure.<locals>.function_without_closures#s���Lr&c�@:```�]n]n]nUUU1QkoUUUU1QkoV1!)r�c�:�RR*nP!r+r)r�rNr�s���r'�three_freevars�UBuiltinTest.test_exec_closure.<locals>.make_closure_functions.<locals>.three_freevars+s����1��r&c�*:�RR*R*nP!r+r)r�rNrr�s����r'�
four_freevars�TBuiltinTest.test_exec_closure.<locals>.make_closure_functions.<locals>.four_freevars0s���
�1��Q��r&r)r4r7r�rNrr�s  @@@�r'�make_closure_functions�=BuiltinTest.test_exec_closure.<locals>.make_closure_functions's,����A��A��A�
�

�
�"�0�0r&)�closurei�	r�)r�r�__globals__�__closure__r�r	r�r�r�r�rS)r0r0r9r4r7�
my_closurer�s&     @r'�test_exec_closure�BuiltinTest.test_exec_closure"s���	���	1� )?�(@�%�����^�
$�
$��&�&�"�.�.�	0�	
�����#����r�l�H�R�L�.�2L�2L�Q�2O�P�
��^�
$�
$��&�&��	 �	
�����&�	
���)��%�.�.�%�1�1��		�	 �	
���)���#�#��&�&��		�	�	
���)���#�#��&�&�!�-�-�		�	/��*�%�
����)���#�#��&�&��		�	 �
�:�&�
�	
���)����	�	�	
���)����	�	 ��*�%�
��
�1�
��:�&�
����)���#�#��&�&��		�	 r&c	�h�[OQ2o[UQ29^tt^2oUO2oPPP2[O
P	Q59^tt^2o[OQ2[OQQQ5[W-2PPP2UO[QW22,QN2SFD?oUOUOQ2UOUO[2JA	[O
P	Q59^tt^2o[OQ2[OQQ	Q5[OQQQ5[WQ
QQU-2PPP2UO[Q
U22,QN2SFD?oUOUOQ2UOUO[2JA	P!)%fhCK�9h)%fhCKw9h)%fhK�9h)z#test_import/data/syntax_warnings.py�rb)�record�error�alwaysz
<string>\zr�c3�D�SF �DpOw�	J	P!3hr+��lineno�r��wms& r'r��IBuiltinTest.test_exec_filter_syntax_warnings_by_module.<locals>.<genexpr>����D���D�b�	�	�D��� r�zpackage.module\zrzpackage.module�__file__c3�D�SF �DpOw�	J	P!3hr+rGrIs& r'r�rK�rLrM)r�r3r��
��)r�findfile�open�readr��catch_warnings�simplefilterr�r�r�r]r�rf�category�
SyntaxWarning)r0r�rr��wlogrJs&     r'�*test_exec_filter_syntax_warnings_by_module�6BuiltinTest.test_exec_filter_syntax_warnings_by_modules����#�#�$I�J��
�(�D�
!�
!�Q��V�V�X�F�"�
�
$�
$�D�
1�
1�T��!�!�'�*��#�#�H�]�C�����2�	
����9�D�9�9�;Q�R��B����R�[�[�*�5��M�M�"�+�+�}�5���
$�
$�D�
1�
1�T��!�!�'�*��#�#�H�5H�I��#�#�G�K�@���*�&6�
�H�M�N�	2�
	
����9�D�9�9�;Q�R��B����R�[�[�*�5��M�M�"�+�+�}�5��#"�
!�
!��
1�
1�
1��2�
1�s6�G9�$;H
�/AH!�9H
	�H
	�
H	�H	�!H1	�*H1	c��UO[[QQ22[Q22UO[[P]Q,],PP]	],22]Q],]	,2UO[[Q,QN22,Q
N2UO[[P[]
222,QN2UO[[Q[]
222,QN2Qo[U[]22UO	[
[2QQ[2oUO	[[[Q	U222Q
oUO	[
[[U[]222UO[[PQ22]],2UO[[QQ22]],2UO	[
[[]*Q22P!)c�0�QSt96*9%cQ6*!t!)r�r5r)rs&r'r�)BuiltinTest.test_filter.<locals>.<lambda>�s��s�a���3�r&zHello World�elloorld�helloc��U]6�!r;rrs&r'rr_�s��q�1�ur&c��U]*!r�rrs&r'rr_�s��q��sr&c��]!rrr)r�s&r'�identity�)BuiltinTest.test_filter.<locals>.identity�s��r&c�(`�\sQsQsnQsQsUsP!)�'BuiltinTest.test_filter.<locals>.BadSeqi�c�"�U]6c]*![g)r�r��r0�indexs&&r'rA�3BuiltinTest.test_filter.<locals>.BadSeq.__getitem__�s����7�� � r&rr�rEs@r'�BadSeqrh�s����
!�
!r&rmc��U!r+rrs&r'rr_�s��Qr&c��P!r+rrr&r'�badfunc�(BuiltinTest.test_filter.<locals>.badfunc����r&c��U]6�!r/rrs&r'rr_�s��q�!�tr&)rs����	rr�)rsrur�)	rsr�ru���$�1�@�Q)rsrurwryr{�rsr��rsr�r�r�)	r�r��filterr)r�r�r�r�r�)r0rermrps&   r'�test_filter�BuiltinTest.test_filter�s�������f�%>�
�N�O�QU�V`�Qa�b�����f�T�A�w��Q�C��T�1�a�+P�Q�R�UV�X_�bc�ad�fg�Th�i�����f�_�6F�G�H�)�T�����f�T�7�2�;�7�8�:[�\�����f�]�G�B�K�@�A�CU�V�	��x����$����)�V�,�	!�V�	!�
	
���*�d�F�;���,I�J�	����)�T�6�'�5��8�+D�E�	
����f�T�6�2�3�a��V�<�����f�^�\�B�C�a��V�L����)�T�6�"�f�+=�>r&c���[[O]*2FD?o[[Q2o[[Q2oUOU[
U2U2JA	P!)rs�
abcdeabcde)r�r~�HIGHEST_PROTOCOLr~rpr�r�)r0r��f1�f2s&   r'�test_filter_pickle�BuiltinTest.test_filter_pickle�sJ���6�2�2�Q�6�7�E���\�2�B���\�2�B��"�"�2�t�B�x��7�8r&�cpuc��Qo[[[U22o[U2FDo[[U2oJ	=[O2P!)i@B)r~�boolr��gc�collect)r0�	max_itersr?r"s&   r'�test_filter_dealloc�BuiltinTest.test_filter_dealloc�s@���	��4��y�)�*���y�!�A��t�Q��A�"�
�
�
�
�r&c��UO[[Q2[OI2UO	[
[2UO	[
[[2QoUO
[
U[[]2UO
[
U[[]Q2UO	[[[[[O22UO	[[]Q2P!)r)rru�픞)
r��getattrr�r)r�r�r!r%rt�
maxunicoder"s& r'�test_getattr�BuiltinTest.test_getattr�s��������X�.�#�*�*�<�=����)�W�-����)�W�c�2�;�����y�#�w��Q�?����y�#�w��Q��G����.�'�3��C�N�N�8K�L����.�'�1�n�Er&c	��UO[[Q22UO[[2UO[[[2QoUO[U[[]2UO
P
[[[[O222QQ2oUO[[U2Q2QQ2oUO[[U2Q2P!)r)rc�(`�\sQsQsnQsQsUsP!)�#BuiltinTest.test_hasattr.<locals>.Ai�c��[gr+)�
SystemExit�r0�whats&&r'�__getattr__�/BuiltinTest.test_hasattr.<locals>.A.__getattr__�r�r&r�rr r!r"r�r%rDrEs@r'r{r��r�r&r{rNc�(`�\sQsQsnQsQsUsP!)�#BuiltinTest.test_hasattr.<locals>.Bi�c��[gr+r�r�s&&r'r��/BuiltinTest.test_hasattr.<locals>.B.__getattr__�r�r&rr�rEs@r'�Br��r�r&r�)r��hasattrr�r�r�r!r�rtr�r�r�)r0r�r{r�s&   r'�test_hasattr�BuiltinTest.test_hasattr�s��������X�.�/����)�W�-����)�W�c�2�;�����y�#�w��Q�?�������S����-@� A�B�	!�	!�	
���*�g�q�s�C�8�	!�	!�	
���*�g�q�s�C�8r&c��[P2UO[]2[]22UO[]2[Q22[Q2UO[Q2[Q22[Q	2Qo[U2UO[[,2UO[[-2QQ2oUO[	[U222[
2QQ[
2oUO[U]*22[]*22P!)
Nrnrsspamc��P!r+rrr&r'r� BuiltinTest.test_hash.<locals>.f�r^r&c�(`�\sQsQsnQsQsUsP!)� BuiltinTest.test_hash.<locals>.Xi�c��]]d*!r�rr7s&r'�__hash__�)BuiltinTest.test_hash.<locals>.X.__hash__�s���#�v�
r&r�rr r!r"r�r%rDrEs@r'r�r��s����
�
r&r�c�(`�\sQsQsnQsQsUsP!)� BuiltinTest.test_hash.<locals>.Zi�c��U!r+rr7s&r'r��)BuiltinTest.test_hash.<locals>.Z.__hash__�����r&rr�rEs@r'�Zr�������
�
r&r��rrsr�r�)�hashr�r�r�r�rS)r0rr�r�s&   r'�	test_hash�BuiltinTest.test_hash�s����T�
�����a��$�q�'�*�����a��$�s�)�,��V������f��t�G�}�5��Y����Q�����)�T�2�.����)�T�2�.�	�	�	
����d�1�3�i��#�.�	��	�	
����a��e��d�2�h�/r&c��QQ2oUO[29^tt^2[U22PPP2P!)%fhP!9h)c�(`�\sQsQsnQsQsUsP!)�2BuiltinTest.test_invalid_hash_typeerror.<locals>.Ai�c��Q!�rnrr7s&r'r��;BuiltinTest.test_invalid_hash_typeerror.<locals>.A.__hash__����r&rr�rEs@r'r{r�������
�
r&r{)r�r�r��r0r{s& r'�test_invalid_hash_typeerror�'BuiltinTest.test_invalid_hash_typeerror�s7��	�	��
�
�y�
)�
)����I�*�
)�
)�
)�s�A�A	�
A	c��UO[]2Q2UO[Q2Q2UO[[-2P!)rv�0x10z-0x10i�)r��hexr�r�r7s&r'�test_hex�BuiltinTest.test_hexs<������R��&�)�����S��7�+����)�S�"�-r&c��[P2[]2[Q2[Q2[Q2[,QN2[Q]Q]Q]-2P!)Nrnr�eggs�hamr�)rr7s&r'�test_id�BuiltinTest.test_idsA��
�4��
�1��
�3��
�6�
�
�9�
�
�9�
�
�F�A�v�q�%��+�,r&c�N�UO[[2UO[[]*]*2QQQ,Q,oSFD_o[U2oUO[	U2Q2UO[	U2Q2UO[
[U2Ja	P!)r��1�2�12)r�r�)r�r�r$r�r�r�)r0�listsr�r?s&   r'�	test_iter�BuiltinTest.test_iters������)�T�*����)�T�2�r�2��c�3�Z��.���A��Q��A����T�!�W�c�*����T�!�W�c�*����m�T�1�5�	r&c��QQ2oQQU2oQQ2oU2oU2oU2oUO[VA22UO[VQ22UO[Va2%(2UO[VB2%(2UO[QU2%(2UO[[UQ2UO[[2P!)c��\sQsQsQsP!)�&BuiltinTest.test_isinstance.<locals>.Cirrqrr&r'r�r�r�r&r�c��\sQsQsQsP!)�&BuiltinTest.test_isinstance.<locals>.Dirrqrr&r'r�r�r�r&r�c��\sQsQsQsP!)�&BuiltinTest.test_isinstance.<locals>.Eirrqrr&r'�Er�r�r&r�r�)r�rr�r��r0r�r�r�rrlr`s&      r'�test_isinstance�BuiltinTest.test_isinstances���	�	�	��	�	�	�
�C��
�C��
�C�����
�1�(�)����
�1�(�)����J�q�,�,�-����J�q�,�,�-����J�u�a�0�0�1����)�Z��E�:����)�Z�0r&c��QQ2oQQU2oQQ2oU2oU2oU2oUO[V!22UO[V22UO[V2%(2UO[[QU2UO[[UQ2UO[[2P!)c��\sQsQsQsP!)�&BuiltinTest.test_issubclass.<locals>.Ci-rrqrr&r'r�r�-r�r&r�c��\sQsQsQsP!)�&BuiltinTest.test_issubclass.<locals>.Di/rrqrr&r'r�r�/r�r&r�c��\sQsQsQsP!)�&BuiltinTest.test_issubclass.<locals>.Ei1rrqrr&r'r�r�1r�r&r�r�)r��
issubclassr�r�r�s&      r'�test_issubclass�BuiltinTest.test_issubclass,s���	�	�	��	�	�	�
�C��
�C��
�C�����
�1�(�)����
�1�(�)����J�q�,�,�-����)�Z���:����)�Z��E�:����)�Z�0r&c��UO[Q2]2UO[Q2]2UO[Q2]2UO[,QN2]2UO[-2]2UO[Q]Q]-2]2QQ2oUO[[U22QQ2oUO[[U22QQ2oUO[[U22Q	Q
2oUO[[U22QQ2oUO[
[U22Q
Q2oUO[[U22QQ[2oUO[[U22P!)�123r�rNc�(`�\sQsQsnQsQsUsP!)�$BuiltinTest.test_len.<locals>.BadSeqiDc��[gr+r�r7s&r'r8�,BuiltinTest.test_len.<locals>.BadSeq.__len__Er�r&r�rr r!r"r8r%rDrEs@r'rmr�Dr�r&rmc�(`�\sQsQsnQsQsUsP!)�(BuiltinTest.test_len.<locals>.InvalidLeniHc��P!r+rr7s&r'r8�0BuiltinTest.test_len.<locals>.InvalidLen.__len__Is��r&rr�rEs@r'�
InvalidLenr�Hr�r&r�c�(`�\sQsQsnQsQsUsP!)�&BuiltinTest.test_len.<locals>.FloatLeniLc��Q!)g@rr7s&r'r8�.BuiltinTest.test_len.<locals>.FloatLen.__len__Mr�r&rr�rEs@r'�FloatLenr�Lr�r&r�c�(`�\sQsQsnQsQsUsP!)�)BuiltinTest.test_len.<locals>.NegativeLeniPc��Q!)r�i����rr7s&r'r8�1BuiltinTest.test_len.<locals>.NegativeLen.__len__Qs���
r&rr�rEs@r'�NegativeLenr�Pr�r&rc�(`�\sQsQsnQsQsUsP!)�%BuiltinTest.test_len.<locals>.HugeLeniTc�2�[O]*!rr�r�r�r7s&r'r8�-BuiltinTest.test_len.<locals>.HugeLen.__len__Us���{�{�Q��&r&rr�rEs@r'�HugeLenrTrOr&rc�(`�\sQsQsnQsQsUsP!)�-BuiltinTest.test_len.<locals>.HugeNegativeLeniXc�4�[O']
*
!)r�rr7s&r'r8�5BuiltinTest.test_len.<locals>.HugeNegativeLen.__len__Ys�����|�B��&r&rr�rEs@r'�HugeNegativeLenr	XrOr&rc��\sQsQsQsP!)�)BuiltinTest.test_len.<locals>.NoLenMethodi\rrqrr&r'�NoLenMethodr\���4r&rrr})r�r6r�r�r��
OverflowErrorr�)r0rmr�r�rrrrs&       r'�test_len�BuiltinTest.test_len=sb������U��Q�'�����R��!�$�����\�*�A�.�����\�*�A�.�����R��!�$�����c�!�S�!�_�-�q�1�	!�	!�	
���*�c�6�8�4�	�	�	
���)�S�*�,�7�	�	�	
���)�S�(�*�5�	�	�	
���*�c�;�=�9�	'�	'�	
���-��g�i�8�	'�	'�	
���*�c�?�+<�=�'�&�'����)�S�+�-�8r&c�`�UO[[Q[]]222,QN2]QHGnUO[[U1Qk]],]Q]	,,22QQ,QQ,,2UO[[Q,QN,QN22,QN2Q	oUO[[U,QN22,QN2UO[[U,QN,QN22,QN2UO[[U,QN,QN,QN22,QN2UO[[[[]
222,QN2Q
oUO[[U[]2[]222]],2UO[[2UO[[Q]*2QQ
2oUO[[[QU222QoUO[[[U[]222P![cQnCK
h9h)c��V*!r+rrs&r'r�&BuiltinTest.test_map.<locals>.<lambda>as��q�sr&)�sqrtc��[UQ2!)��?)�powrs&r'r�"BuiltinTest.test_map.<locals>.sqrtgs���1�c�{�"r&c�0:�[[RU22!r+)r��map)r�rs&�r'rrjs���t�C��a�L�1r&�@�@g"@roc��V*!r+rrYs&&r'rrns��!�#r&c�0�]oSFDp!U*oJ
	U!r;r)�v�accur?s*  r'�plus�"BuiltinTest.test_map.<locals>.plusrs���D���a�x��Q��Kr&c�2�UeU!UeU![V2!r+)r-�r�rNs&&r'�Max�!BuiltinTest.test_map.<locals>.Max�s ���y����y����q�9�r&c��U!r+rrs&r'rr�s��Ar&c�(`�\sQsQsnQsQsUsP!)�$BuiltinTest.test_map.<locals>.BadSeqi�c3� �[g3hr+r�r7s&r'rh�-BuiltinTest.test_map.<locals>.BadSeq.__iter__�s��� � �s�
rrjrEs@r'rmr,�s����
�
r&rmc��U!r+rrs&r'rr�s��!r&c��[gr+r_rs&r'rp�%BuiltinTest.test_map.<locals>.badfunc�s���r&)rsr�ru)rsr�r�)rursr�)r�r�r�)rsr�r3)r�rur�)r�rkru)rsrsr)r�rPru)
rrsr�rurvrwrxryrzr{)
r�r�rr��mathrr�rSr)r�r�r�r`)r0r$r(rmrprs&    @r'�test_map�BuiltinTest.test_map_s���������]�E�!�A�J�/�0��	
�	#�!�	
�����1�R��G�b�!�W�3E�F�G��3�Z�#�s��$�	
�	
�����%�w��8�9��	
�
	�	
�����T�9�%�&��	
�	
�����T�9�i�0�1��	
�	
�����T�9�i��;�<�!�	
�	
�����S�'�"�+�&�'�0�	
�	�	
�����S�'�!�*�g�a�j�1�2�
��F�	
�	
���)�S�)����)�S�+�r�:�	�	�	
���*�d�C��V�X�,F�G�	����,��c�'�5��8�.D�E��g�	#�
#�	#�s�H5�5	I�?I�Ic���[[O]*2FD?o[[Q2o[[Q2oUOU[
U2U2JA	P!)rszIs this the real life?)r�r~r�rrur�r�)r0r��m1�m2s&   r'�test_map_pickle�BuiltinTest.test_map_pickle�sL���6�2�2�Q�6�7�E��X�7�8�B��X�7�8�B��"�"�2�t�B�x��7�8r&c	��QoQo,QNo[[O]*2FD'o[[VP	Q5oUOVSU2J)	P!�rs��strictr��r�r�r��)rsr�)r�r�)r�r�)r�r~r�rryr�)r0r�rN�tr�r6s&     r'�test_map_pickle_strict�"BuiltinTest.test_map_pickle_strict�sI������$���6�2�2�Q�6�7�E��T�1��-�B��"�"�2�%�0�8r&c	�x�QoQo,QNo[[O]*2FD�o[[VP	Q5o[O
[OVT22oUOUOU[2U2UOUOU[2U2J�	P!�rsr<r��r�r�r�r3r?)
r�r~r�rryr�rr��
iter_errorr�)r0r�rNr@r�r6r7s&      r'�test_map_pickle_strict_fail�'BuiltinTest.test_map_pickle_strict_fail�s�������$���6�2�2�Q�6�7�E��T�1��-�B����f�l�l�2�5�6�B����T�_�_�R��<�a�@����T�_�_�R��<�a�@�	8r&c�x�UO[[[QQP	Q52Q2UO	[
[[[QQP	Q52UO	[
[[[QQP	Q52UO	[
[[[QQQP	Q52P[
21o[
2[
21o[
21oUO	[
[[[UQP	Q52UO	[
[[[VQP	Q52UO	[
[[[VUP	Q52UO	[
[[[QUP	Q52UO	[
[[[QV#P	Q52P!)rsrdr<r�r��)rsr�)r�rN)r�rr}r|)r�r�rryr�r�r�)r0�t1�t2�t3s&   r'�test_map_strict�BuiltinTest.test_map_strict�sO������s�4��E�$�G�H�7�	9����*�e��d�L�%��E�	G����*�e��d�F�E�$�?�	A����*�e��d�F�F�E�$�G�	I��F�H�
���h���
!���h�[�����*�e��d�B��D�9�	;����*�e��d�B�C��=�	?����*�e��d�B�B�t�<�	>����*�e��d�C��D�9�	;����*�e��d�C���=�	?r&c�"�[[]22o],o[[]22oUO[[[[VUP	Q52UO[U2]2UO[U2]2P!�r�r<)	r$r�r�r�r�rryr�r��r0r�rZr5s&   r'�test_map_strict_iterators�%BuiltinTest.test_map_strict_iterators�sk����q��N��
�C����q��N�����*�d��t�Q�1�T�:�	=�����a��!�$�����a��!�$r&c
�.`
�QQ[2n
U
1QkQ2oUO[[QU]2P	Q5R
2oUO	UQ,2UO[[QU]2QP	Q5[
2oUO	UQ	,2UO[[QU]2QP	Q5R
2oUO	UQ	Q
,2UO[[QU]2P	Q5[
2oUO	UQQ,2UO[[U]2QP	Q5R
2oUO	UQ
,2UO[[U]2QP	Q5[
2oUO	UQ,2UO[[U]2QP	Q5R
2oUO	UQQ,2UO[[U]2QP	Q5[
2o	UO	U	QQ,2P!)c��\sQsQsQsP!)�9BuiltinTest.test_map_strict_error_handling.<locals>.Errori�rrqrr&r'�ErrorrW�r�r&rXc�<:`�\sQsQsnQsQsU1QksQsUsP!)�8BuiltinTest.test_map_strict_error_handling.<locals>.Iteri�c��VmP!r+��size�r0r]s&&r'r1�ABuiltinTest.test_map_strict_error_handling.<locals>.Iter.__init__���� �	r&c��U!r+rr7s&r'rh�ABuiltinTest.test_map_strict_error_handling.<locals>.Iter.__iter__�r�r&c�v:�U9O]*tmUO]6cRgUO!rrr\�r0rXs&�r'�__next__�ABuiltinTest.test_map_strict_error_handling.<locals>.Iter.__next__��*����	�	�Q��	��9�9�q�=��K��y�y� r&r\�	rr r!r"r1rhrer%rD�rFrXs@�r'�IterrZ������
!�
�
!�
!r&rj�ABr<r{�ABC�r{r�r{rsr{�r�rr��r{r��r�rs�rr{�rsr{�rr��r�r{�rsr�)r�rFrryr�r��r0rj�l1�l2�l3�l4�l5�l6�l7�l8rXs&         @r'�test_map_strict_error_handling�*BuiltinTest.test_map_strict_error_handling�s����	�I�	�		!�		!��_�_�S��t�T�!�W�T�B�E�
J������h�Z�(�
�_�_�S��t�T�!�W�c�$�G��
T������m�_�-�
�_�_�S��t�T�!�W�e�D�I�5�
Q������m�]�;�<�
�_�_�S��t�T�!�W�T�B�J�
O������h��1�2�
�_�_�S��t�A�w��T�B�E�
J������h�Z�(�
�_�_�S��t�A�w��D�A�:�
N������h�Z�(�
�_�_�S��t�A�w��d�C�U�
K������h��1�2�
�_�_�S��t�A�w��T�B�J�
O������h��1�2r&c
�(�QQ2oUO[[QU]2P	Q5[2oUO	UQ,2UO[[QU]2QP	Q5[2oUO	UQ,2UO[[QU]2QP	Q5[2oUO	UQQ,2UO[[QU]2P	Q5[2oUO	UQ	Q
,2UO[[U]2QP	Q5[2oUO	UQ,2UO[[U]2QP	Q5[2oUO	UQ,2UO[[U]2QP	Q5[2oUO	UQQ
,2UO[[U]2QP	Q5[2o	UO	U	QQ,2P!)c�4`�\sQsQsnQsQsQsQsUsP!)�FBuiltinTest.test_map_strict_error_handling_stopiteration.<locals>.Iteri�c��VmP!r+r\r^s&&r'r1�OBuiltinTest.test_map_strict_error_handling_stopiteration.<locals>.Iter.__init__�r`r&c��U!r+rr7s&r'rh�OBuiltinTest.test_map_strict_error_handling_stopiteration.<locals>.Iter.__iter__�r�r&c�|�U9O]*tmUO]6c[gUO!rr�r]r�r7s&r're�OBuiltinTest.test_map_strict_error_handling_stopiteration.<locals>.Iter.__next__�*���	�	�Q��	��9�9�q�=�'�'��y�y� r&r\rhrEs@r'rjr�������
!�
�
!�
!r&rjrlr<r{rmrnrorprqrrrsrtrurvrw)rFrryr�r��
r0rjryrzr{r|r}r~rr�s
&         r'�,test_map_strict_error_handling_stopiteration�8BuiltinTest.test_map_strict_error_handling_stopiteration�s���		!�		!��_�_�S��t�T�!�W�T�B�J�
O������h�Z�(�
�_�_�S��t�T�!�W�c�$�G��
T������m�_�-�
�_�_�S��t�T�!�W�e�D�I�:�
V������m�]�;�<�
�_�_�S��t�T�!�W�T�B�J�
O������h��1�2�
�_�_�S��t�A�w��T�B�J�
O������h�Z�(�
�_�_�S��t�A�w��D�A�:�
N������h�Z�(�
�_�_�S��t�A�w��d�C�Z�
P������h��1�2�
�_�_�S��t�A�w��T�B�J�
O������h��1�2r&c��UO[Q2Q2UO[]]]2]2UO[Q
2]2UO[,Q
N2]2UO[]]Q2Q2UO[]Q]2]2UO[Q]]2]2UO[Q29^tt^2[2PPP2UO	[[]*2UO[
Q29^tt^2[Q2PPP2QQ2oUO	[
[U22QFD)o[
U[22UOU2J+	UO[Q[Q	5]2UO[Q[Q	5]2UO[]][Q	5]2UO[QPQ
5P2UO[QPQ
5]2UO[QPQ
5]2UO[Q][Q5]2UO[Q][Q5]2UO[QPQ	5]2[]d2Tt,tFDo[O]�2MJ	oo[QU22oUOoUO[VFQ	5[[!U2UQ	5P*2P!)%fhCKY9h)%fhCK 9h[cCJh9httoh)�123123�3rorrnz'max expected at least 1 argument, got 0z"max\(\) iterable argument is emptyc�(`�\sQsQsnQsQsUsP!)�$BuiltinTest.test_max.<locals>.BadSeqi-c��[gr+r�rjs&&r'rA�0BuiltinTest.test_max.<locals>.BadSeq.__getitem__.r�r&rr�rEs@r'rmr�-r�r&rm�r���default�r�r�c3�\�SF �Dp[O]221w�	J	P!3h�r���random�	randrange�r��elems& r'r��'BuiltinTest.test_max.<locals>.<genexpr>Q���T���T�T�6�+�+�B�/�0�T���%,�rsr�r�rsr�r�r)zmax(key=int)zmax(default=None)zmax(1, 2, default=None)zmax(default=None, key=int)zmax(1, key=int)zmax(1, 2, keystone=int)zmax(1, 2, key=int, abc=int)zmax(1, 2, key=1)rrr|)r�r-r!r�r�r�r�r��failr
r�r�r�r�rAr]�reversed�r0rm�stmtr?r�r�rs&      r'�test_max�BuiltinTest.test_maxs�������X���,�����Q��1��q�)�����/�0�!�4�����/�0�!�4�����Q��3���-�����Q��Q���+�����S�!�Q���+�
�
#�
#��5�
�
�
�E�	
�	
���)�S�"�-�
�
#�
#��1�
�
�
��G�	
�
	!�	!�	
���*�c�6�8�4�	�D�
 ��T�7�9�%��	�	�$��	�"	
����T�s�+�Q�/�����U��,�a�0�����Q��s�+�Q�/�����R��.��5�����T�4�0�!�4�����U�D�1�1�5�����R���4�a�8�����V�Q�C�8�!�<�����V��.��2�/4�S�z�:�z�!�� � ��%�z��:��B�T�B�B����������T�)�����A�6�r�:�	<�e
�
�
��
�
�
��,�
��
��$;sB�'M�3M�8M*�	!M=�M	�M	�M'	�M'	�*	M:�4M:�9M:c���UO[Q2Q2UO[]]]2]2UO[Q
2]2UO[,Q
N2]2UO[]]Q2]2UO[]Q]2]2UO[Q]]2Q2UO[Q29^tt^2[2PPP2UO	[[]*2UO[
Q29^tt^2[Q2PPP2QQ2oUO	[
[U22QFD)o[
U[22UOU2J+	UO[Q[Q	5]2UO[Q[Q	5]2UO[]][Q	5]2UO[QPQ
5P2UO[QPQ
5]2UO[QPQ
5]2UO[Q][Q5]2UO[Q][Q5]2UO[QPQ	5]2[]d2Tt,tFDo[O]�2MJ	oo[QU22oUOoUO[VFQ	5[VFQ	5]*2P!)%fhCKO9h)%fhCK9h[cCJ�h9httoh)r�r�rorrnz'min expected at least 1 argument, got 0z"min\(\) iterable argument is emptyc�(`�\sQsQsnQsQsUsP!)�$BuiltinTest.test_min.<locals>.BadSeqilc��[gr+r�rjs&&r'rA�0BuiltinTest.test_min.<locals>.BadSeq.__getitem__mr�r&rr�rEs@r'rmr�lr�r&rmr�r�r�c3�\�SF �Dp[O]221w�	J	P!3hr�r�r�s& r'r��'BuiltinTest.test_min.<locals>.<genexpr>�r�r�r�r)zmin(key=int)zmin(default=None)zmin(1, 2, default=None)zmin(default=None, key=int)zmin(1, key=int)zmin(1, 2, keystone=int)zmin(1, 2, key=int, abc=int)zmin(1, 2, key=1)rrr|)r��minr!r�r�r�r�r�r�r
r�r�r�r�rAr]r�s&      r'�test_min�BuiltinTest.test_minVs�������X���,�����Q��1��q�)�����/�0�!�4�����/�0�!�4�����Q��3���+�����Q��Q���+�����S�!�Q���-�
�
#�
#��5�
�
�
�E�	
�	
���)�S�"�-�
�
#�
#��1�
�
�
��G�	
�
	!�	!�	
���*�c�6�8�4�	�D�
 ��T�7�9�%��	�	�$��	�"	
����T�s�+�Q�/�����U��,�a�0�����Q��s�+�Q�/�����R��.��5�����T�4�0�!�4�����U�D�1�1�5�����R���4�a�8�����V�Q�C�8�!�<�����V��.��2�/4�S�z�:�z�!�� � ��%�z��:��B�T�B�B����������T�)���,�Q�/�	1�e
�
�
��
�
�
��,�
��
��$;sB�'L8�3M�8M �	!M3�8M		�M		�M	�M	� 	M0�*M0�/M0c��[[]22oUO[U2]2UO[U2]2UO	[
[U2UO	[
[U2UO[U]*2]*2QQ[2o[U22oUO[U]*2]*2UO	[
[U2QoU2oUO[U2]2UO	[
[U2UO[U]*2]*2P!)r�c�.`�\sQsQsnQsQsQsUsP!)�#BuiltinTest.test_next.<locals>.Iteri�c��U!r+rr7s&r'rh�,BuiltinTest.test_next.<locals>.Iter.__iter__�r�r&c��[gr+)r�r7s&r're�,BuiltinTest.test_next.<locals>.Iter.__next__�s��#�#r&r)rr r!r"rhrer%rDrEs@r'rjr��s����
�
$�
$r&rjc3� �]w�	P!3hrrrrr&r'�gen�"BuiltinTest.test_next.<locals>.gen�s
����G��s�	)r$r�r�r�r�r�r�)r0r�rjr�s&   r'�	test_next�BuiltinTest.test_next�s���
�%��(�^������b��1�%�����b��1�%����-��r�2����-��r�2�����b�"��r�*�	$�6�	$��$�&�\������b�"��r�*����-��r�2�	��U������b��1�%����-��r�2�����b�"��r�*r&c��UO[]d2Q2UO[Q2Q2UO[[Q2P!)�d�0o144z-0o144i����r)r��octr�r�r7s&r'�test_oct�BuiltinTest.test_oct�s<������S��7�+�����T��H�-����)�S�"�-r&c�z�[[QQQ5oUO[[2U9^tt^2UO	Q2UO	Q2UO	Q2UO	Q2UO	Q2UO	Q2PPP2P!)%fhP!9h)	�w�utf-8��encoding�1+1
z+The quick brown fox jumps over the lazy dogz.
z
Dear John
�,XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX�,YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY)rTr�
addCleanuprrT�r0�fps& r'�write_testfile�BuiltinTest.write_testfile�sw��
�&�#��
0�������'�
�R��H�H�W���H�H�B�C��H�H�U�O��H�H�]�#��H�H�Y���H�H�Y��
�R�R�R�s�A'B)�)B:	�2B:	c��UO2[[QQ5oU9^tt^2UOUO	]2Q2UOUO	2Q2UOUO	]2Q2UOUO	]d2Q2UOUOQ2Q
2UOUOQ2Q2PPP2UO
[[Q2UO
[[Q	2P!)%fhKH9h)r�r�r�z-The quick brown fox jumps over the lazy dog.
�Dearz John
r}r�zabsabr�r�)r�rTrr��readlinerUr�r�r�s& r'�	test_open�BuiltinTest.test_open�s�������
�&�7�
+��
�R����R�[�[��^�W�5����R�[�[�]�,\�]����R�[�[��^�V�4����R�[�[��-�y�9����R�W�W�S�\�9�5����R�W�W�T�]�I�6�
�	
���*�d�H�5����*�d�I�6��R�s�CD3�3E	�<E	zutf-8 mode is enabledc	�"�[29^tt^2oUOQQQ2UO2[O2o[
O29^tt^2[
OQ[2[[Q2oPPP2W9^tt^2UOUOU2PPP2PPP2P!)%fhKI9h)%fhK-9h)%fhP!9h)�LC_ALL�LANG�LC_CTYPEr�r�)
r�unsetr��locale�getencodingr�rVrW�EncodingWarningrTrr�r�)r0�env�current_locale_encodingr�s&   r'�test_open_default_encoding�&BuiltinTest.test_open_default_encoding�s���
 �
"�
"�c�
�I�I�h��
�3����!�&,�&8�&8�&:�#��(�(�*�*��%�%�h��@��&�#�&��+���� � ����.E�F��#�
"�+�*�����#�
"�
"�sN�AC=�*,C	�C=�(C*	�C=�C'
� C'
�"C=�*C:
�3C:
�5C=�=D	�D	c���[[QQ5oU9^tt^2UO[OUO222PPP2P!)%fhP!9h)r�r�)rTrNrt�os�get_inheritable�fileno)r0�fileobjs& r'�test_open_non_inheritable�%BuiltinTest.test_open_non_inheritable�s?���x�'�2��
�W����R�/�/����0@�A�B��W�W�W�s�4A�A,	�$A,	c��UO[Q2] 2UO[Q2]A2UO[Q2]a2UO[Q2]�2UO[Q2]�2UO[Q2] 2UO[Q2]A2UO[Q2]a2UO[Q2]�2UO[Q	2]�2UO[[[O22[O2UO[[]*2UO[[Q
22Q
2UO[Q2Q2UO[Q
2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q
2P!)rZr{r��€r|� �Ar~����r�r~r}r�rr�r�r�r�r�r�r�r�r�r�r�r�r�)r�rmrtr�r�r�r�r7s&r'�test_ord�BuiltinTest.test_ord�s�������S��2�&�����S��2�&�����S��2�&�����V��c�*�����V��c�*�����T��B�'�����T��B�'�����T��B�'�����W��s�+�����W��s�+�����S����0�1�3�>�>�B����)�S�"�-�����S��]�+�X�6�����\�*�J�7�����\�*�J�7�����\�*�J�7�����\�*�J�7�����\�*�J�7�����\�*�J�7�����\�*�J�7�����\�*�J�7�����\�*�J�7r&c
�r	�UO[]]2]2UO[]]2]2UO[]]2]2UO[]]2]2UO[]]2]2UO[]]
2Q2UO[]]2Q2UO[]]2Q2UO[Q]2]2UO[Q]2Q2UO[Q]2]2UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]
2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2QFD�oQFD�oQFDo[U[2%f-[U[2%f[U[2%cUO[[VU2JcUO[VU2Q2J�	J�	J�	UO[PQ2Q	2UO[PQ2Q2UO[PQ]2]2UO[[]]]2UO[[2UO[]]Q
5]2UO[]]Q5]2UO[]]]Q5]2[[]Q
5oUOU]Q
5] 2[[]Q
5oUOU]2] 2[[]
Q5oUOU]]2]2UOU]]Q5]2P!)r�r�rnrg�@rg8@r��?)�exp)�baser�)r�r��mod)r�)r�)r�r�r��@rl���g0Ag�Ag�� �)r�r)r��$@)r�g@�@gUUUUUU�?y�?�LX�z��?)	r�rrtr�floatr�r�r�r)r0r�rZr5�twopow�fifth_power�mod10s&      r'�test_pow�BuiltinTest.test_pows�������Q�q��1�%�����Q�q��1�%�����Q�q��1�%�����Q�q��1�%�����Q�q��1�%�����Q�r��D�)�����Q�r��I�.�����Q�r��N�3�����R���A�&�����R���B�'�����R���A�&�����R���B�'����s�2�a�y�"�-����s�2�a�y�"�-����s�2�a�y�"�-����s�2�a�y�"�-����s�2�a�y�"�-����s�2�b�z�5�1����s�2�b�z�;�7����s�2�b�z�+<�=����s�3�q�z�2�.����s�3�q�z�3�/����s�3�q�z�2�.����s�3�q�z�3�/��A���%�A�!�!�U�+�+�!�!�U�+�+�!�!�U�+�+��)�)�)�S�!��B��.�.�s�1��|�T�B�
&���	
���s�2�s�|�R�0����s�2�s�|�-F�G�	
����R��Q���+����*�c�1�a��3����)�S�)�	
����Q�A���*�����!��+�R�0�����!���3�R�8���1�%������A���+��c�q�)������Q���,����$������q�!��a�(�����1�1�-�q�1r&c��UO2[[QQ5o[Oo[O
oU[m[
2[mUO[2Q2UO[2Q2UO[Q2Q2U[m[OO2UO[[2[
2[m[OQ2[mUO[[]*]*2[OQ2[mUO[2Q2[O2[mUO[[2[;UO[ [Q2[;UO[ [Q2U[mU[mUO2P!S[mS[mSO2h9h)	r�r�r|z,The quick brown fox jumps over the lazy dog.ztesting
z	Dear JohnzNULLz    'whitespace'�prompt)r�rTrr��stdinr)rQr��input�closer�r��io�StringIOr��EOFErrorr`)r0r��	savestdinr*s&   r'�
test_input�BuiltinTest.test_input?sp������
�&�7�
+���I�I�	��Z�Z�
�	��C�I�"��C�J����U�W�e�,����U�W�&T�U����U�;�/��=�$�C�J��I�I�O�O�����j�%�0�"��C�J����H�-�C�I����i���B�7����$6�7�C�I����U�W�&8�9����
�C�I����h��.��
����l�E�8�<��	����l�E�8�<�!�C�I�#�C�J��H�H�J��"�C�I�#�C�J��H�H�J�s
�F1H�(Ic�F``�UU1QkQ[O2n[O[QP29^tt^2[O[QP29^tt^2[O[QP29^tt^2P
nR2[mR2[mRQ2[mP	n[2PPP2PPP2PPP2P!)%fhK"9h)%fhK-9h)%fhP!9h)c�2:`�\sQsQsnUU1QksQsUsP!)�*BuiltinTest.test_input_gh130163.<locals>.Xicc��:�R%cIP
nR2[mR2[mRQ2[m[O
2[OOV2!)F�input
)	r�r)�stderrr	r�
gc_collectrr
�__getattribute__)r0r�r�rs&&��r'r�;BuiltinTest.test_input_gh130163.<locals>.X.__getattribute__dsI����!�E�!"��C�J�!"��C�J� !�)��C�I��&�&�(��{�{�3�3�D�?�?r&r)rr r!r"rr%rD)rFr�rs@��r'r�rcs����
@�
@r&r�r)rr	r)	rr
rr
r�r)rr	r
)r0r�rs&@@r'�test_input_gh130163�BuiltinTest.test_input_gh130163bs����		@�		@����		@�����X�t�4�4�����X�t�4�4�����W�d�3�3��E���C�J���C�J��)��C�I��E��G�4�5�5�4�3�3��5�4��5�4�4�sO�%D�*%C<	�AC)
�C<	�D�)C9�2C9�4C<	�<D
�D
�D�D 	�D 	c��UO[P2Q2UO[]2Q2UO[Q2Q2UO[,2Q2UO[-2Q2,oUOU2UO[U2Q2-oV]$UO[U2Q2P!)	r>r?r@rArBrCrDrEr)r�rHr=)r0r�s& r'�	test_repr�BuiltinTest.test_repr{s�������b��6�*�����a��#�&�����b��4�(�����b��4�(�����b��4�(���	���������a��)�,����!������a��,�/r&c�\�QQ2oUO[[U22P!)c��\sQsQsPsQsP!)�(BuiltinTest.test_repr_blocked.<locals>.Ci�r)rr r!r"r:r%rr&r'r�r"�s���Hr&r�)r�r�rH)r0r�s& r'�test_repr_blocked�BuiltinTest.test_repr_blocked�s ��	�	����)�T�1�3�/r&c�d�[Q2o[Q2oUOU[2UO[U2[2UO	UO
Q2UO	UO[
2UOV2UO	[U2Q2UOU2UO[OU2U2UO[OU2U2UO	V2UOV2UO[[2UO[[QQ2UO[[QQ5UO[Q29^tt^2[]2PPP2UO[O ["O$*2UO[O ["O&*2UO)[O ["O**2UO[29^tt^2QQ[2oPPP2P!)%fhK�9h)%fhP!9h)�MISSING�EXTRAr�zmust be strc��\sQsQsQsP!)�.BuiltinTest.test_sentinel.<locals>.SubSentineli�rrqrr&r'�SubSentinelr)����r&r*)r#rrfr�r�rr �assertIsNotrHr��copy�deepcopyr�r�r�r!�	__flags__r�_TPFLAGS_IMMUTABLETYPE�_TPFLAGS_HAVE_GCrt�_TPFLAGS_BASETYPE)r0�missing�otherr*s&   r'�
test_sentinel�BuiltinTest.test_sentinel�s����9�%����#�����g�x�0��
�
�d�7�m�X�.�����)�)�9�5�����+�+�X�6�����(�����g��	�2����� ��
�
�d�i�i��(�'�2��
�
�d�m�m�G�,�g�6�����*����G�+����)�X�.����)�X�y�'�B����)�X�I��>�
�
#�
#�I�}�
=�
=��Q�K�>�����*�*�W�-K�-K�K�L�����*�*�W�-E�-E�E�F�����+�+�g�.G�.G�G�H�
�
�
�y�
)�
)�
�h�
�*�
)�>�
=��
*�
)�
)�s$�$J�1J�J	�J	�J/	�'J/	c���[Q2oUO[29^tt^2Q[mPPP2UO[29^tt^2QUmPPP2UO[29^tt^2QUmPPP2QUmUOUOQ2UO[29^tt^2U;PPP2U;UO[29^tt^2UOPPP2P!)%fhK�9h)%fhK�9h)%fhK�9h)%fhK9h)%fhP!9h)r&r�CHANGED�changed)r#r�r��	attributer%rr r��r0r3s& r'�test_sentinel_attributes�$BuiltinTest.test_sentinel_attributes�s����9�%��
�
�
�y�
)�
)�!(�H��*�
�
�
�~�
.�
.� '�G��/�
�
�
�~�
.�
.�(�G��/�&�������+�+�Y�7�
�
�
�~�
.�
.�� �/���
�
�
�~�
.�
.����/�
.�*�
)��
.�
.��
.�
.��/�
.��/�
.�
.�sY�D�D,�D?�E�
E%�D)	�"D)	�,D<	�5D<	�?E	�E	�E"	�E"	�%E6	�.E6	c��[QQQ5o[QPQ5oUO[U2Q2UO[U2Q2UO[U2Q2UO[U2Q2UO	[
Q29^tt^2[Q]*Q5PPP2P!)%fhP!9h)�	WITH_REPR�custom)rH�WITHOUT_REPRzrepr.*str or None�BAD_REPR)r#r�rHrNr!r�)r0�	with_repr�without_reprs&  r'�test_sentinel_repr�BuiltinTest.test_sentinel_repr�s����[�x�8�	���T�:������i��(�3�����l�+�^�<�����Y���2�����\�*�N�;�
�
#�
#�I�/B�
C�
C��Z�b�)�D�
C�
C�
C�s�&B>�>C	�C	c
��[[O]*2FD�oUOUQ59^tt^2UO	[O
[O[UQ52[2UO	[O
[O[OUQ52[O2PPP2J�	[Q2o[[O]*2FDmoUOUQ59^tt^2UO[O29^tt^2[OV!Q5PPP2PPP2Jo	P!)%fhCJw9h)%fhK39h)%fhJ�9h)rs)�protocolr&)
r�r~r�r:rfr�rrrr$r#r��
PicklingError)r0r�r3s&  r'�test_sentinel_pickle� BuiltinTest.test_sentinel_pickle�s���6�2�2�Q�6�7�E����u��-�-��
�
��L�L����j�5�!I�J�� ��
�
��L�L����)�8�8�5�"J�K�%�4�4�6�	.�-�8��9�%���6�2�2�Q�6�7�E����u��-�-��&�&�v�';�';�<�<��L�L��9�=�.�-�8�.�-�-��=�<��.�-�-�sC�BF	�2(F0	�F
�2F0	�F
�F
�F-�&F-�(F0	�0G
�9G
c�`�QQ[2oUQ2o[U2oUOUOU2UO	[
OU22V2m[OU2o==[O2UOU22P!)c��\sQsQsQsP!)�?BuiltinTest.test_sentinel_str_subclass_name_cycle.<locals>.Namei�rrqrr&r'rrN�r�r&rr&)
rNr#rfrr�r��
is_trackedr3�weakref�refrr�assertIsNone)r0rr�r3rQs&    r'�%test_sentinel_str_subclass_name_cycle�1BuiltinTest.test_sentinel_str_subclass_name_cycle�s��	�3�	��I����4�.���
�
�g�&�&��-�����
�
�g�.�/����k�k�$����'��������#�%� r&c�0�[Q2oUOU[*[O2UOU[*OU[12UO[U*[O2UO[U*O[U12UOV*U2UO[[U*2Q2UOUP*[O2UOUP*OU[P212UOPU*[O2UOPU*O[P2U12UOU[[**[O2UOU[[**OU[[*12UOU[[**[O2UOU[[**OU[[12UO[29^tt^2U]*PPP2UO[29^tt^2]U*PPP2P!)%fhKA9h)%fhP!9h)r&z
int | MISSING)r#rrS�typing�Unionr��__args__rfrHr�r�rNr�r�r;s& r'�test_sentinel_union�BuiltinTest.test_sentinel_union�s����9�%�����g��m�V�\�\�:����'�C�-�1�1�G�S�>�B����c�G�m�V�\�\�:����#��-�1�1�C��>�B��
�
�g�'��1�����c�G�m�,�o�>����g��n�f�l�l�;����'�D�.�2�2�W�d�4�j�4I�J����d�W�n�f�l�l�;����$��.�2�2�T�$�Z��4I�J����g��S�	�1�6�<�<�@����'�D��I�-�7�7�'�4��9�9M�N����g��s��3�V�\�\�B����'�S�3�Y�/�9�9�G�S�#�;N�O�
�
�
�y�
)�
)��a�K�*�
�
�
�y�
)�
)�
��K�*�
)�*�
)��
)�
)�
)�s$�.
K1�
L�1L	�:L	�L	�
L	c��
�UO[Q2Q2UO[[Q22[2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q	2Q2UO[Q
2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[QP2Q2UO[[QP22[2UO[[Q]22[2UO[[Q]22[2UO[Q2]2UO[Q
2]2UO[Q2Q 2UO[Q!2Q 2UO[]2]2UO[]2]2UO[Q"2Q"2UO[[]22[2UO[[Q"P22[2UO[[Q"]22[2UO[[Q"]22[2UO[QPQ5Q2UO[[2QQ2oQQ2oUO[U22]2UO[[]]]2UO[[U22U2oQUmUO[[U2UO[[U]2P!)#r�rnrge��Ag@��x�D皙�����?g�������?g333333$@g��e��Ag�������?g������#@g33�d��Ag@g@)�number�ndigitsc�(`�\sQsQsnQsQsUsP!)�)BuiltinTest.test_round.<locals>.TestRoundi3c��]!)�rr7s&r'�	__round__�3BuiltinTest.test_round.<locals>.TestRound.__round__4s��r&r)rr r!r"rcr%rDrEs@r'�	TestRoundr`3r�r&rec��\sQsQsQsP!)�+BuiltinTest.test_round.<locals>.TestNoRoundi7rrqrr&r'�TestNoRoundrg7r�r&rhc��U!r+rrws*r'r�(BuiltinTest.test_round.<locals>.<lambda>@s��Dr&rrg$�ge��g@��x��g�������g333333$�g��e��g�������g������#�g33�d��r�g�i����g�r�)r��roundr�rSrr�r�rc)r0rerhr@s&   r'�
test_round�BuiltinTest.test_round�s�������s��S�)�����e�C�j�)�3�/�����s��S�)�����t��d�+�����|�,�l�;�����t��d�+�����t��d�+�����u��u�-�����}�-�}�=�����u��u�-�����s��S�)�����s��S�)�����t��d�+�����|�,�l�;�����t��d�+�����u��u�-�����}�-�}�=�����s��S�)�����s��T�*�����{�+�\�:�����t��d�+�����t��e�,�����|�,�m�<�����t�R��%�0�����e�D�"�o�.��6�����e�D�!�n�-�u�5�����e�D�!�n�-�u�5�	
����s��Q�'�����s��Q�'�����t��b�)�����t��b�)�	
����q��1�%�����q��1�%�����r��B�'�����e�A�h���-�����e�B��m�,�c�2�����e�B��l�+�S�1�����e�B��l�+�S�1�	
����d�B�7��?����)�U�+�	�	�	�	�	
����y�{�+�R�0����)�U�A�q�!�4����)�U�K�M�:��M��(������)�U�A�.����)�U�A�q�1r&�Linux�alphazItest will fail;  failure is probably due to a buggy system round functionc��UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2UO[Q2Q2P!)g��7y�1Cg��7y�1C���7y�1Cg��7y�1Cg��7y�1C)r�rkr7s&r'�test_round_large�BuiltinTest.test_round_largeNsh��
	
����v���/�����t��d�+�����v���/�����v���/�����v���/r&c
�.�QQ[OQ2[OQ]d21FD_oUO	[UP2[U22UO	[
[UP22[
[U222Ja	P!)r�g
ףp=J�@z1234.56i@�)�decimal�Decimal�	fractions�Fractionr�rkr�rTs& r'�test_bug_27936�BuiltinTest.test_bug_27936Yso�����/�/�)�,��$�$�V�S�1�3�A�
���U�1�d�^�U�1�X�6����T�%��4�.�1�4��a��>�B�3r&c��[[Q]2UO[O]2[;UO	[
[2UO	[
[[2UO	[
[[Q2QoUO
[
U[[]Q2P![;h9h)rr)�setattrr�r�rr�r�r!r"s& r'�test_setattr�BuiltinTest.test_setattrbs�����V�Q��	����S�X�X�q�)������)�W�-����)�W�c�2����)�W�c�6�:�;�����y�#�w��Q��G����s� B9�9Cc��UO[,2]2UO[[[]]222]2UO[[	[[]]2222]2UO[[]
22Q2UO[[	[]
222Q2UO[],],],,,2,Q!N2UO[[]
2Q2Q2UO[[]
2QQ5Q2UO[[]
2Q"2Q#2UO[[]
2Q$2Q%2UO[Q[]
222]2UO[Q[]
22Q&2Q'2UO[Q[]
22Q(2Q)2UO
[,P
2P
2UO[Q[]
222Q	2UO[Q
[]
22Q2Q2UO[Q[]
22Q
2Q2UO[Q],2Q2UO[]Q,2Q2UO[[Q*,22Q2UO[[Q*,Q*22Q2UO[[,Q*22Q2UO[O[[Q2[Q2,222UO[O[QQ,222UO[[2UO[[]*2UO[[,Q+N2UO[[,Q+NP2UO[[QQ,Q2[Q2[Q2,oUO[[U[Q22UO[[],],],,2UO[[]]-,2UO[[]]-,]*]]-2UO[[,P2UO[[,Q2UO[[,[22UO[[Q]
Q*,2UO[[Q]
Q*,2QQ2oUO[ [U22,o[Q[]
22U2UOU,2[Q2Tt,tFDCo[#[$O$2Q*
[$O$2Q*
2MJE	ooUO[U2[#[QU22[Q U2222UO'[[#]Q*2],2[#]Q*22UO'[][#]Q*2,2[#]Q*22UO'[[#]Q*2Q,2[#]Q*22UO'[Q[#]Q*2,2[#]Q*22P!ttoh),r�r�i)�startc3�D�SF �Dp]*]6gw�	J	P!3hr�r�r�r?s& r'r��'BuiltinTest.test_sum.<locals>.<genexpr>}s������A��U�a�Z��rMc3�D�SF �Dp]*]6gw�	J	P!3hr�rr�s& r'r�r�~���)���)�Q�!�e�q�j�)�rMc3�D�SF �Dp]*]6gw�	J	P!3hr�rr�s& r'r�r��r�rMc3�>�SF �Dp]*w�	J	P!3hr�rr�s& r'r�r��s��I���I�q��U�U�I�r�g�6@c3�>�SF �Dp]*w�	J	P!3hr�rr�s& r'r�r�����Y���Y��!�e�e�Y�r�g�@c3�>�SF �Dp]*w�	J	P!3hr�rr�s& r'r�r��r�r�gB�@g��@rg�?z0.0z-0.0�infg������r~�cr&�brnr�c�(`�\sQsQsnQsQsUsP!)�$BuiltinTest.test_sum.<locals>.BadSeqi�c��[gr+r�rjs&&r'rA�0BuiltinTest.test_sum.<locals>.BadSeq.__getitem__�r�r&rr�rEs@r'rmr��r�r&rmc3�2�SF �Dp,w�	J
	P!3hr+rr�s& r'r�r��s��)���)�Q�S�)�s�i'c3�D�SF �DpOw�	J	P!3hr+)�real�r�r5s& r'r�r�����b���b��f�f�b�rMc3�D�SF �DpOw�	J	P!3hr+)�imagr�s& r'r�r��r�rMr�i���l(l����l(i���ll����lg�rW)r��sumr�r�r$r)rfrHr�r2�isinfrr�r��	bytearrayrr��complexr��assertComplexesAreIdentical)r0r�rm�emptyr"�xss&     r'�test_sum�BuiltinTest.test_sumps�������R��!�$�����T�%��!�*�-�.��3�����T�$�u�Q�q�z�"2�3�4�b�9�����W�R�[�)�3�/�����T�'�"�+�.�/��5�����q�c�A�3���_�b�1�9�=�����U�2�Y��-�t�4�����U�2�Y�d�3�T�:�����U�2�Y��0�(�;�����U�2�Y��0�(�;�����;��r��;�;�Q�?�����<�%��)�<�g�F� �	"�����<�%��)�<�g�F� �	"��
�
�c�"�e�n�e�,�����6�E�"�I�6�6��=�����7�U�2�Y�7��>��G�����7�U�2�Y�7��A�7�K�����c�1�X���,�����a��X���,�����c�4�&�k�*�E�2�����c�4�&�$�/�0�&�9�����c�"�d�m�,�f�5�����
�
�3��e��e�E�l�'C�#D�E�F�����
�
�3��u�~�#6�7�8����)�S�)����)�S�"�-����)�S�/�:����)�S�/�2�>����)�S�4��,��<��D�/�9�T�?�3�����)�S�&�)�C�.�A����)�S�A�3���a�S�/�:����)�S�A�a�5�'�2����)�S�A�a�5�'�!�)�a��U�;����)�S�"�b�1����)�S�"�c�2����)�S�"�i�k�:����-��s�B��H�o�>����-��r�2�t�8�n�=�	!�	!�	
���*�c�6�8�4����$�%��)�$�e�,������#��U�|�%�#�!��f�m�m�o��*�F�M�M�O�b�,@�A�#�	�%�����R��'�#�-A�b�-A�*A�*-�-A�b�-A�*A�#C�	D�
	
�(�(��g�a��.>��-B�)C�)0��D�)9�	;��(�(��a���D�1A�-B�)C�)0��D�)9�	;��(�(��g�a��.>��-D�)E�)0��D�)9�	;��(�(��c�7�1�d�3C�-D�)E�)0��D�)9�	;��%s�=A]z<sum accuracy not guaranteed on machines with double roundingc
��UO[Q,]
*2Q2UO[,QN2Q2UO[,QN2Q2UO[,QN2Q2UO[,Q	N2Q2UO[,Q
N2Q2UO[Q]
]d*Q]
]d*',2Q2UO[QQ]
]d*Q]
]d*',2Q2UO[Q,]
*[O]]
2,*2Q2P!)r\rnr�@y�������?)rn�\�n��Trn�\�n���)rnr�rnr�r�y@@)y@�?�\�n��Tr���\�n���)r�rsr�r�rnr�)r�rnr�rnr�y�������?�?)r�r�rwrxr7s&r'�test_sum_accuracy�BuiltinTest.test_sum_accuracy�s��
	
����c�U�R�Z��#�.�����8�9�3�?�����<�=�t�D�����:�;�T�B�����@�A�4�H�����:�;�T�B�����c�2�s�7�C�"�c�'��:�;�S�A�����b�#�r�3�w��b�#�g�X�>�?��F�����d�V�B�Y�)�*<�*<�Q��*C�)D�D�E�v�Nr&c��UO[P2[Q22UO[P2[Q22P!)r>r�r)r�r�r�r7s&r'�	test_type�BuiltinTest.test_type�s2������b��D��K�0����D��H�d�2�h�/r&c��[2!r+)�varsrr&r'�get_vars_f0�BuiltinTest.get_vars_f0�s	���v�
r&c�H�[O2]o]o[2!rr)r{r�r�r's  r'�get_vars_f2�BuiltinTest.get_vars_f2�s�����!�
��
���v�
r&c�:`�\sQsQsnQs\\Q5sQsUsP!)�BuiltinTest.C_get_varsi�c��Q]-!r�rr7s&r'�getDict�BuiltinTest.C_get_vars.getDict�s����7�Nr&)�fgetr)	rr r!r"r��propertyr+r%rDrEs@r'�
C_get_varsr��s����	���)�r&r�c�8�UO[[22[[222UO[[[22[[[222UOUO2-2UOUO
2Q]Q]-2UO[[]*]*2UO[[]*2UO[UO22Q]-2P!r')
r�rr�rXr�r�r�r�r�r�r7s&r'�	test_vars�BuiltinTest.test_vars�s�������T�V��c�#�%�j�1�����T�#�Y���S��X��7�����)�)�+�R�0�����)�)�+�c�1�c�1�-=�>����)�T�2�r�2����)�T�2�.�����d�o�o�/�0�3�q�'�:r&c��,oUOU29^tt^2SFDoUOU2J	PPP2U!)%fhS!9h)z=Collect `iterable` into a list, catching an expected `error`.)r�r=)r0�iterablerD�itemsr�s&&&  r'rF�BuiltinTest.iter_error�sJ����
�
�
�u�
%�
%� �����T�"�!�&���&�
%���s�A�A	�A	c
���Q	oQ
o,QNoUO[[V22U2,Q
NoUO[[V22U2QoUO[[V22U2QQ2oUO[[V222U2UO[[22,2UO[[,2,2UO[[P2QQ2oUO[[V22UO[
[U[
22QQ2oUO[[U2[Q
222[[[]2222QQ2oUO[[[U2U222P!)rsc�(`�\sQsQsnQsQsUsP!)�BuiltinTest.test_zip.<locals>.Ii�c�>�U]6fU]6�c[gU]*!r;�r<�r0r?s&&r'rA�+BuiltinTest.test_zip.<locals>.I.__getitem__�s���q�5�A��E��#3��1�u�r&rr�rEs@r'�Ir��s����
�
r&r�c��\sQsQsQsP!)�BuiltinTest.test_zip.<locals>.Gi�rrqrr&r'�Gr��r�r&r�c�(`�\sQsQsnQsQsUsP!)�4BuiltinTest.test_zip.<locals>.SequenceWithoutALengthi	c�"�U]6Xc[gU!�r�r�r�s&&r'rA�@BuiltinTest.test_zip.<locals>.SequenceWithoutALength.__getitem__	�����6�$�$��Hr&rr�rEs@r'�SequenceWithoutALengthr�	�����
�
r&r�c�(`�\sQsQsnQsQsUsP!)�$BuiltinTest.test_zip.<locals>.BadSeqi	c�"�U]6Xc[gU!r�r�r�s&&r'rA�0BuiltinTest.test_zip.<locals>.BadSeq.__getitem__	r�r&rr�rEs@r'rmr�	r�r&rmr�r>r?rEr�)
r�r��zipr�r�r`rfr��	enumerater�)r0r�rNr@r�r�r�rms&       r'�test_zip�BuiltinTest.test_zip�sn������$������c�!�i��!�,�������c�!�i��!�,�������c�!�i��!�,�	�	�	
����c�!�Q�S�k�*�A�.�����c�e��b�)�����c�2�h���,����)�S�$�/�	�	����)�S�!�Q�S�1����,��Q��0A�B�
	�	�	
�����+�-�u�U�|�<�=���5��8�$�%�	
�
	�	�	
���*�d�C���&�(�,C�Dr&c��QoQo,QNo[[O]*2FD o[V2oUO	VSU2J"	P!)rsr�r>r?�r�r~r�r�r��r0r�rNr@r��z1s&     r'�test_zip_pickle�BuiltinTest.test_zip_pickle	sD������$���6�2�2�Q�6�7�E��Q��B��"�"�2�%�0�8r&c��QoQo,QNo[[O]*2FD"o[VP	Q5oUO	VSU2J$	P!r;r�r�s&     r'�test_zip_pickle_strict�"BuiltinTest.test_zip_pickle_strict"	sG������$���6�2�2�Q�6�7�E��Q�$�'�B��"�"�2�%�0�8r&c�n�QoQo,QNo[[O]*2FD�o[VP	Q5o[O[O
VT22oUO
UOU[2U2UO
UOU[2U2J�	P!rD)	r�r~r�r�r�rr�rFr�)r0r�rNr@r�r��z2s&      r'�test_zip_pickle_strict_fail�'BuiltinTest.test_zip_pickle_strict_fail*	s�������$���6�2�2�Q�6�7�E��Q�$�'�B����f�l�l�2�5�6�B����T�_�_�R��<�a�@����T�_�_�R��<�a�@�	8r&c�`�[2nU1QkQ2oUO[29^tt^2o[U22PPP2UOWOR2P!)%fhK.9h)c�0:`�\sQsQsnU1QksQsUsP!)�6BuiltinTest.test_zip_bad_iterable.<locals>.BadIterablei7	c�
:�Rgr+r)r0�	exceptions&�r'rh�?BuiltinTest.test_zip_bad_iterable.<locals>.BadIterable.__iter__8	s����r&rrj)rFr�s@�r'�BadIterabler�7	s����
 �
 r&r�)r�r�r�rfr�)r0r��cmr�s&  @r'�test_zip_bad_iterable�!BuiltinTest.test_zip_bad_iterable4	sU����K�	�	 �	 ��
�
�y�
)�
)�R���
��*�	
�
�
�b�l�l�I�.�*�
)�s�A.�.A>	�7A>	c�B�UO[[QQP	Q52Q2UO[[[QQP	Q52UO[[[QQP	Q52UO[[[QQQP	Q52P!)rsrdr<r�rJr}r|)r�r�r�r�r�r7s&r'�test_zip_strict�BuiltinTest.test_zip_strict@	s�������s�9�e�D�A�B�7�	9����*�e��l�E�$�?�	A����*�e��f�e�D�9�	;����*�e��f�f�e�D�A�	Cr&c��[[]22o],o[[]22oUO[[[VUP	Q52UO
[U2]2UO
[U2]2P!rQ)r$r�r�r�r�r�r�r�rRs&   r'�test_zip_strict_iterators�%BuiltinTest.test_zip_strict_iteratorsJ	si����q��N��
�C����q��N�����*�d��q�Q�t�4�	7�����a��!�$�����a��!�$r&c	��`
�QQ[2n
U
1QkQ2oUO[QU]2P	Q5R
2oUOUQ,2UO[QU]2QP	Q5[2oUOUQ	,2UO[QU]2QP	Q5R
2oUOUQ	Q
,2UO[QU]2P	Q5[2oUOUQQ,2UO[U]2QP	Q5R
2oUOUQ
,2UO[U]2QP	Q5[2oUOUQ,2UO[U]2QP	Q5R
2oUOUQQ,2UO[U]2QP	Q5[2o	UOU	QQ,2P!)c��\sQsQsQsP!)�9BuiltinTest.test_zip_strict_error_handling.<locals>.ErroriU	rrqrr&r'rXr�U	r�r&rXc�<:`�\sQsQsnQsQsU1QksQsUsP!)�8BuiltinTest.test_zip_strict_error_handling.<locals>.IteriX	c��VmP!r+r\r^s&&r'r1�ABuiltinTest.test_zip_strict_error_handling.<locals>.Iter.__init__Y	r`r&c��U!r+rr7s&r'rh�ABuiltinTest.test_zip_strict_error_handling.<locals>.Iter.__iter__[	r�r&c�v:�U9O]*tmUO]6cRgUO!rrr\rds&�r're�ABuiltinTest.test_zip_strict_error_handling.<locals>.Iter.__next__]	rgr&r\rhris@�r'rjrX	rkr&rjrlr<r{rmrnrorprqrrrsrtrurvrw)r�rFr�r�r�rxs&         @r'�test_zip_strict_error_handling�*BuiltinTest.test_zip_strict_error_handlingS	s����	�I�	�		!�		!��_�_�S��t�A�w�t�<�e�
D������h�Z�(�
�_�_�S��t�A�w��D�A�:�
N������m�_�-�
�_�_�S��t�A�w��d�C�U�
K������m�]�;�<�
�_�_�S��t�A�w�t�<�j�
I������h��1�2�
�_�_�S��a��$�t�<�e�
D������h�Z�(�
�_�_�S��a��#�d�;�Z�
H������h�Z�(�
�_�_�S��a��%��=�u�
E������h��1�2�
�_�_�S��a��$�t�<�j�
I������h��1�2r&c	���QQ2oUO[QU]2P	Q5[2oUOUQ,2UO[QU]2QP	Q5[2oUOUQ,2UO[QU]2QP	Q5[2oUOUQQ,2UO[QU]2P	Q5[2oUOUQ	Q
,2UO[U]2QP	Q5[2oUOUQ,2UO[U]2QP	Q5[2oUOUQ,2UO[U]2QP	Q5[2oUOUQQ
,2UO[U]2QP	Q5[2o	UOU	QQ,2P!)c�4`�\sQsQsnQsQsQsQsUsP!)�FBuiltinTest.test_zip_strict_error_handling_stopiteration.<locals>.Iteriv	c��VmP!r+r\r^s&&r'r1�OBuiltinTest.test_zip_strict_error_handling_stopiteration.<locals>.Iter.__init__w	r`r&c��U!r+rr7s&r'rh�OBuiltinTest.test_zip_strict_error_handling_stopiteration.<locals>.Iter.__iter__y	r�r&c�|�U9O]*tmUO]6c[gUO!rrr�r7s&r're�OBuiltinTest.test_zip_strict_error_handling_stopiteration.<locals>.Iter.__next__{	r�r&r\rhrEs@r'rjrv	r�r&rjrlr<r{rmrnrorprqrrrsrtrurvrw)rFr�r�r�r�s
&         r'�,test_zip_strict_error_handling_stopiteration�8BuiltinTest.test_zip_strict_error_handling_stopiterationt	s���		!�		!��_�_�S��t�A�w�t�<�j�
I������h�Z�(�
�_�_�S��t�A�w��D�A�:�
N������m�_�-�
�_�_�S��t�A�w��d�C�Z�
P������m�]�;�<�
�_�_�S��t�A�w�t�<�j�
I������h��1�2�
�_�_�S��a��$�t�<�j�
I������h�Z�(�
�_�_�S��a��#�d�;�Z�
H������h�Z�(�
�_�_�S��a��%��=�z�
J������h��1�2�
�_�_�S��a��$�t�<�j�
I������h��1�2r&c��[,,2o[O2UO[O[U222P!r+)r�r�r�r�rOr�)r0r�s& r'�test_zip_result_gc�BuiltinTest.test_zip_result_gc�	s3��
�"��Y��
�
�
��	
����
�
�d�2�h�/�0r&c	�V`�RO[]P2Q2QoU1QkoUU2U1QkoUQ2UQ2UQ2UQ2UQ2UQ2U[2UP2QQ	2oRO[[U2P2RO[[[2]2RO[[[2[22[2OP2oRO
UQ
2RO[[2O
]2RO[[2O
[22RO[[2O
P2QQ2oRO[U22P2RO[U2P2P2RO[U2Q
2P2QQ2oQQ[2o[Vx1FD�o	U	2o
RO[U
2[U
22RO[U
P2[U
22RO[Q[OU	O2*29^tt^2[U
Q
2PPP2J�	QQ[2oRO[]UQ22Q2P!)%fhJ�9h)r�r�c��QQ[2oQQU2oQQ[2oQQU2oQQ	U2oVV41!)
c�.`�\sQsQsnQsQsQsUsP!)�7BuiltinTest.test_format.<locals>.classes_new.<locals>.Ai�	c��VmP!r+rrTs&&r'r1�@BuiltinTest.test_format.<locals>.classes_new.<locals>.A.__init__�	����Fr&c�<�[UO2U*!r+�rNr��r0�format_specs&&r'�
__format__�BBuiltinTest.test_format.<locals>.classes_new.<locals>.A.__format__�	����t�v�v�;��4�4r&r�rr r!r"r1r"r%rDrEs@r'r{r�	������5�5r&r{c��\sQsQsQsP!)�BBuiltinTest.test_format.<locals>.classes_new.<locals>.DerivedFromAi�	rrqrr&r'�DerivedFromAr(�	r+r&r)c��\sQsQsQsP!)�<BuiltinTest.test_format.<locals>.classes_new.<locals>.Simplei�	rrqrr&r'�Simpler+�	s��$r&r,c�.`�\sQsQsnQsQsQsUsP!)�GBuiltinTest.test_format.<locals>.classes_new.<locals>.DerivedFromSimplei�	c��VmP!r+rrTs&&r'r1�PBuiltinTest.test_format.<locals>.classes_new.<locals>.DerivedFromSimple.__init__�	rr&c�<�[UO2U*!r+rr s&&r'r"�RBuiltinTest.test_format.<locals>.classes_new.<locals>.DerivedFromSimple.__format__�	r$r&rr%rEs@r'�DerivedFromSimpler.�	r&r&r3c��\sQsQsQsP!)�HBuiltinTest.test_format.<locals>.classes_new.<locals>.DerivedFromSimple2i�	rrqrr&r'�DerivedFromSimple2r5�	s��r&r6)r�)r{r)r,r3r6s     r'�classes_new�,BuiltinTest.test_format.<locals>.classes_new�	sG��
5�F�
5�

�q�
�
'��&�
5�F�
5�

>�%6�=��$5�I�Ir&c�:�RO[U]2Q2Q2RO[U]2Q2Q2RO[U]2Q2Q2RO[U]
2Q2Q2P!)r��spec�3spec�4specrd�5abc�abcdef�10abcdef)r��format)r{r)r3r6r0s&&&&�r'�
class_test�+BuiltinTest.test_format.<locals>.class_test�	sv������V�A�a�D�&�1�7�;����V�L��O�V�<�g�F����V�$5�a�$8�%�@�&�I����V�$6�r�$:�H�E�'�
)r&c�:�RO[UP2[U22RO[U2[U22P!�r>)r�r@rN)rr0s&�r'�empty_format_spec�2BuiltinTest.test_format.<locals>.empty_format_spec�	s8���
���V�E�2�.��E�
�;����V�E�]�C��J�7r&rng�]]^��Ug�;�q7r*c�(`�\sQsQsnQsQsUsP!)�0BuiltinTest.test_format.<locals>.BadFormatResulti�	c��Q!r�rr s&&r'r"�;BuiltinTest.test_format.<locals>.BadFormatResult.__format__�	r�r&r�rr r!r"r"r%rDrEs@r'�BadFormatResultrH�	r�r&rLz<object object atc�(`�\sQsQsnQsQsUsP!)�"BuiltinTest.test_format.<locals>.Ai�	c��[PU2!rD)r@)r0�fmt_strs&&r'r"�-BuiltinTest.test_format.<locals>.A.__format__�	s���b�'�*�*r&rrKrEs@r'r{rN�	s����
+�
+r&r{rIc��\sQsQsQsP!)�"BuiltinTest.test_format.<locals>.Bi�	rrqrr&r'r�rS�	r�r&r�c��\sQsQsQsP!)�"BuiltinTest.test_format.<locals>.Ci�	rrqrr&r'r�rU�	r�r&r�z\b%s\bc��\sQsQsQsP!)�/BuiltinTest.test_format.<locals>.DerivedFromStri
rrqrr&r'�DerivedFromStrrW
rr&rX�10z
         0l�.��@g�]]^���g�;�q7r�)r�r@r�r�r�r"�assertStartsWithrNr!�re�escaper)r0r7rArErLr�r{r�r��cls�objrXsf           r'�test_format�BuiltinTest.test_format�	sp���	
�����2���,�	J�$	)�	�K�M�"�	8�	�&�!��#���*�%��+�&��+�&��,�'��&�!��$��	�	�	
���)�V�_�->��C�	
���)�V�V�X�q�9����)�V�V�X�v�x�@�
�H����#�����a�!4�5�	
���)�V�X�%8�%8�!�<����)�V�X�%8�%8�&�(�C����)�V�X�%8�%8�$�?�
	+�	+�	
�������b�)�������R��"�-�������S�)�2�.�	�	�	��	��A�>�C��%�C����V�C�[�#�c�(�3����V�C��_�c�#�h�7��'�'�	�(1�B�I�I�c�l�l�4K�(K�M�M��s�C� �M�M�	"�	(�S�'������>�$�#7�8�,�G�M�M�M�s�
L	�L(
� L(
c���UO[]2Q2UO[]2Q2UO[P2Q2UO[]]A*2Q2UO[]]A*]*
2Q2UO[]]A*'2Q2UO[]]A*]*
'2Q2P!)r�0b0�0b1z-0b1�D0b100000000000000000000000000000000000000000000000000000000000000000�C0b11111111111111111111111111111111111111111111111111111111111111111zE-0b100000000000000000000000000000000000000000000000000000000000000000zD-0b11111111111111111111111111111111111111111111111111111111111111111)r��binr7s&r'�test_bin�BuiltinTest.test_bin
s�������Q���'�����Q���'�����R��&�)�����Q��U��%5�6�����Q��U�1�W���7�����q�"�u�X��(9�:�����q�"�u�Q�w�Z��*:�;r&c��[Q2oUO[UOQ]2UO[UOQ]2P!)sabc�1s1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111)r�r�r��	translater�rTs& r'�test_bytearray_translate�$BuiltinTest.test_bytearray_translate
s<���f������*�a�k�k�4��;����)�Q�[�[�(�A�>r&c�~�[2o[[Q2oUO[UO
U2P!)r�)r�rrSr�r��extend)r0�array�bad_iters&  r'�test_bytearray_extend_error�'BuiltinTest.test_bytearray_extend_error
s*������s�C�=�����*�e�l�l�H�=r&c�x`�[Q2nU1QkoUO[ROU22P!)�,c3�F: �RO2Qw�	Qw�	P!3h�r��B)�clear)rps�r'�iterator�KBuiltinTest.test_bytearray_join_with_misbehaving_iterator.<locals>.iterator
s�����K�K�M��J��J�s�!)r�r��BufferError�join)r0rzrps& @r'�-test_bytearray_join_with_misbehaving_iterator�9BuiltinTest.test_bytearray_join_with_misbehaving_iterator
s+����$���	�	
���+�u�z�z�8�:�>r&c��[Q2oQoUO[Q2UOU222P!)ruc3�$ �Qw�	Qw�	P!3hrwrrr&r'rz�FBuiltinTest.test_bytearray_join_with_custom_iterator.<locals>.iterator"
s����J��J�s�sA,B)r�r�r})r0rprzs&  r'�(test_bytearray_join_with_custom_iterator�4BuiltinTest.test_bytearray_join_with_custom_iterator
s2���$���	�	
����6�*�E�J�J�x�z�,B�Cr&c	���P[[1FDVo[U2oUOU2U2UO	[
U]]2UO	[
U]]Q5JX	P!)Nr')�Ellipsisrgr�rfr�r�)r0�const�tps&  r'�test_construct_singletons�%BuiltinTest.test_construct_singletons'
sW���8�^�3�E��e��B��M�M�"�$��&����i��Q��2����i��q�A��6�	4r&c�f�QoUO[U[[2UO[U29^tt^2[%cPPP2UO[U29^tt^2[%(PPP2P!)%fhKD9h)%fhP!9h)z6NotImplemented should not be used in a boolean context)r!r�r�rgr"s& r'�test_bool_notimplemented�$BuiltinTest.test_bool_notimplemented.
sv��
G�����y�#�t�^�D�
�
#�
#�I�s�
3�
3��~��4��
#�
#�I�s�
3�
3���4�
3�4�
3��4�
3�
3�s*�B�B�6B�B	�B	�B0	�(B0	c�v�[[1FCDDoUOU29^tt^2UO[	U2UO
2UO[	U2O
[2UO
[29^tt^2]UmPPP2UO
[29^tt^2UOPPP2UO
[29^tt^2][	U2mPPP2UO
[29^tt^2[	U2OPPP2PPP2CJG	P!)%fhK�9h)%fhK�9h)%fhK�9h)%fhKX9h)%fhCJ�9hrr)
rgr�r:rfr�r=r�r%�propr�)r0�	singletons& r'�test_singleton_attribute_access�+BuiltinTest.test_singleton_attribute_access;
s��(�(�3�I����i�(�(��
�
�d�9�o�y�/B�/B�C��
�
�d�9�o�7�7��>��&�&�~�6�6�%&�I�N�7��&�&�~�6�6��N�N�7��&�&�y�1�1�+,�D��O�(�2��&�&�~�6�6���O�(�(�7�)�(�4�7�6��6�6��2�1��6�6��)�(�(�s��A,F&	�E
� %F&	�
E-
�%F&	�7F
�%F&	�-F
�F&	�E*�#E*�%F&	�-E=�6E=�8F&	�F�	F�F&	�F#�F#�F&	�&F8
�/F8
rrq)�rr r!r"r�r�r�r�r�rr;rPrUrxr�r�r�r�r�r�rrr#rarhryr�r�r�r�r�r�r�r�rrrrr!r&r+r?r[rr�r�skip_wasi_stack_overflow�skip_emscripten_stack_overflow�requires_resourcer�r�r�r�r�r�r�r�r�r�rr3r8rArGrNrSr�r�r�r�r�r�r�r��unittest�skipIfr�r��	utf8_moder��requires_subprocessr�r�rrrrr#r5r<rErJrSrYrl�platform�system�
startswith�machine�linux_alphark�system_round_bugrrryr}r�r�HAVE_DOUBLE_ROUNDINGrr�r��staticmethodr�r�r�r�r�rFr�r�r�r�r�r�r�rrrr_rgrlrrr~r�r�r�r�r%rDrEs@r'r{r{�s�����,�"I�$.�.8�"8�"6U�p-�*!O�F,�
 &�D5�2/�/:�bD�*R3�h&?�PE� 9�*@�S8�j:�

�8<�.�P�
CD�J7�0
� �=�1�@M�&	K�/�B�?�	$�[ �z6�0?�28�
�%�%�'��+�+�-����u�%��&�.�(��	F�9�&0�*�.�
-�6�1�$1�" 9�D:F�x8�1�A�?�4%�3�B3�<=<�~=1�~+�6.�

 �
7��_�_�S�Y�Y�(�(�*A�B�
G�C�
G�
� � �"�C�#�C�
8�6<2�|!�F�20�0�
�6� 	*�:�"
!��.H2�b�?�?�$�/�/��8�:�:��#�#�%�0�0��9���V�}��.��
�_�_�[�5�5�%5�3�4�0�4�0�C�
H�F;�P�
�_�_�)�W�Y����	O��Y��	O�0���������*�V�*�
;��*E�X1�1�A�
/�C�%�3�B3�<
���	1��	1�cH�J<�?�
>�
?�D�7��)�)r&r{c�`�\sQsQsnQsQsQsQsQsQs	\
O\OOQ2Q	2s\
O\OOQ2Q
2s\
O\OOQ2Q2sQs\
O\OOQ2Q
2sQsQsQsUsP!)�TestBreakpointiN
c�J�[2UmUOUOO2UOO	[22UmUOQUOO	[[Q[O22P!)�PYTHONBREAKPOINT�breakpointhook)
r�	resourcesr�r�
enter_contextrr�r
r��__breakpointhook__r7s&r'�setUp�TestBreakpoint.setUpO
sp��#����������,�,�-��>�>�/�/�0C�0E�F����H�H�'�(����$�$��c�+�S�-C�-C�D�	Fr&c��[Q29^tt^2o[2PPP2WO2P!)%fhK"9h��
pdb.set_trace)r�
breakpoint�assert_called_once�r0�mocks& r'�test_breakpoint�TestBreakpoint.test_breakpoint]
s.��
�?�
#�
#�t��L�$����!�$�
#�s�:�A
	�A
	c�f�[2oU[m[2UO	2P!r+�rr�r�r��assert_called_once_with�r0�my_breakpointhooks& r'�'test_breakpoint_with_breakpointhook_set�6TestBreakpoint.test_breakpoint_with_breakpointhook_setb
s#��%�K��.������1�1�3r&c�J�[2oU[m[2UO	2[O
[m[
Q29^tt^2o[2UO	2PPP2UO	2P!)%fhK"9hr�)rr�r�r�r�r�r)r0r�r�s&  r'�)test_breakpoint_with_breakpointhook_reset�8TestBreakpoint.test_breakpoint_with_breakpointhook_reseth
sk��%�K��.������1�1�3� �3�3���
�?�
#�
#�t��L��(�(�*�$�	�1�1�3�$�
#�s�B�B"	�B"	c�~�[2oU[m[]]]]]Q5UO	]]]]]Q5P!)rs��four�fiver�r�s& r'�&test_breakpoint_with_args_and_keywords�5TestBreakpoint.test_breakpoint_with_args_and_keywordst
s;��%�K��.����1�a����+��1�1�!�Q����1�Jr&c
�d�QoU[mUO[[]]]]]Q5P!)c��P!r+rrr&r'r��MTestBreakpoint.test_breakpoint_with_passthru_error.<locals>.my_breakpointhook{
rrr&r�)r�r�r�r�r�r�s& r'�#test_breakpoint_with_passthru_error�2TestBreakpoint.test_breakpoint_with_passthru_errorz
s,��	�.������)�Z��A�q�q�q��Ir&z-E was givenc��QUOQ$[Q29^tt^2o[Q2UOQ2PPP2P!)%fhP!9h)rSr�zbuiltins.int�7�r�rr�r�r�s& r'�test_envar_good_path_builtin�+TestBreakpoint.test_envar_good_path_builtin�
sB��',����#�$�
�>�
"�
"�d��s�O��(�(��-�#�
"�
"�
"�s�A�A	�A	c��QUOQ$[Q29^tt^2o[2UO2PPP2P!)%fhP!9h�zsys.exitr�r�r�s& r'�test_envar_good_path_other�)TestBreakpoint.test_envar_good_path_other�
s>��'1����#�$�
�:�
�
�$��L��(�(�*��
�
�
���A	�	A	�A	c��QUOQ$[Q29^tt^2o[2UO2PPP2P!)%fhP!9h)r@r�r�)r�rr��assert_not_calledr�s& r'�test_envar_good_path_noop_0�*TestBreakpoint.test_envar_good_path_noop_0�
s>��'*����#�$�
�?�
#�
#�t��L��"�"�$�$�
#�
#�
#�r�c��PUOQ$[Q29^tt^2o[2UO2PPP2P!)%fhP!9h)r>r�r�r�r�s& r'�!test_envar_good_path_empty_string�0TestBreakpoint.test_envar_good_path_empty_string�
s>��')����#�$�
�?�
#�
#�t��L��(�(�*�$�
#�
#�
#�r�c
��QFD�oUOUQ59^tt^2VOQ$UOO[	Q22oUOO[P	Q52o[
2UO[UO2QUQ02UOUO[2UO2PPP2J�	P!)%fhJ�9h)�.)�envarr�r�)�quietz*Ignoring unimportable $PYTHONBREAKPOINT: "rM)r�z..z.foozfoo.z.intzint.z.foo.barz	..foo.barz/./�
nosuchbuiltinznosuchmodule.nosuchcallable)
r:r�r�r�rrr�r�rN�messagerX�RuntimeWarningr�)r0r�r�r�s&   r'�test_envar_unimportable�&TestBreakpoint.test_envar_unimportable�
s����E����E��*�*�/4���+�,��~�~�3�3�E�/�4J�K���N�N�0�0��d�1K�L����� � ���	�	�N�@���q�I�K�� � ����^�<��&�&�(�+�*�
�+�*�*�s�B;C+	�+C<
�4C<
c���QUOQ$[Q29^tt^2o[[m[2UO
2PPP2P!)%fhP!9hr�)r�rrSr�r�r�r�r�s& r'�#test_envar_ignored_when_hook_is_set�2TestBreakpoint.test_envar_ignored_when_hook_is_set�
sF��'1����#�$�
�:�
�
�$�!$�C���L��"�"�$��
�
�
�s�*A�A)	�!A)	c��[;UO[29^tt^2[	2PPP2P!)%fhP!9hr+)r�r�r�r`r�r7s&r'�$test_runtime_error_when_hook_is_lost�3TestBreakpoint.test_runtime_error_when_hook_is_lost�
s-����
�
�
�|�
,�
,��L�-�
,�
,�
,�s�:�A	�A	)r�r�)rr r!r"r�r�r�r�r�r�r�r�r�r��ignore_environmentr�r�r�r�r�r�r�r%rDrEs@r'r�r�N
s�����F�"�
4�
4�K�J��_�_�S�Y�Y�1�1�>�B�.�C�.��_�_�S�Y�Y�1�1�>�B�+�C�+��_�_�S�Y�Y�1�1�>�B�%�C�%�+��_�_�S�Y�Y�1�1�>�B�)�C�)�$%��r&r�z,the pty and signal modules must be availablec��`�\sQsQsnQs\Q2sQs\O2Q2s
QQPQQQ	Q
-Qkks\OQ2sQ
sQsQsQsQsQsQsQsUsP!)�PtyTestsi�
zdTests that use a pseudo terminal to guarantee stdin and stdout are
terminals in the test environmentc��P!r+r)�signum�frames&&r'�
handle_sighup�PtyTests.handle_sighup�
s��
	
r&c�$�[O[OUO2oUOV2[O[OU2![O[OS2h9hr+)�signal�SIGHUPr��
_run_child)r0�child�terminal_input�
old_sighups&&& r'�	run_child�PtyTests.run_child�
sR���]�]�6�=�=�$�2D�2D�E�
�	5��?�?�5�9��M�M�&�-�-��4��F�M�M�&�-�-��4�s�A(�('Bc�f�[O2vq4[O2vqVU]6XcS[OU2[UQ29^tt^2oUU2PPP2[O]2[OU2[OVb2[UQQ59^tt^2o	,o
U	O2O2oUP6XcLU
O!U2J:PPP2[#W
2]6wc�[%2o[O&UQ2o
U
%fLUO)U
2J5[OU2UO+QQ2oUO-Q[#U
2U1*2[OU2[.O0U]Q5U
![[
1cSo[OS2[OS2SOQOS22gPo=hh9h)%fhCK�9h[O2CK�9h[O]2h9h)%fhCK�9h[cCJPh9h)	zpty.fork() raised {}r�r�r�i�rGr�z9got %d lines in pipe but expected 2, child output was:
%s)�exitcode)r��pipe�pty�fork�OSErrorr%r�skipTestr@rT�	traceback�	print_exc�_exitrTr�r-r=r6r�rUro�decoder�r�wait_process)r0r�r��rr��pid�fdr`�wpipe�rpipe�linesrS�child_output�chunks&&&           r'r��PtyTests._run_child�
s����w�w�y���	��h�h�j�G�C��!�8�
�������!�S�\�\�U��%�L�"������	�����
����$��!�g�
&�
&�%��E���~�~�'�-�-�/���2�:�����T�"�'��u�:��?�%�;�L����G�G�B��-�E����#�#�E�*��H�H�R�L�'�.�.�w��A�L��I�I�R��U��\�2�3�
4�
	��������S�1�-����q��(�	��H�H�Q�K��H�H�Q�K��M�M�0�7�7��:�;���		��"�\�\��
&��#�#�%��������'�
&�
&��"����s��G�*I�#	I�,I�(J�4J�,J �H=�*H=�+A
H8�8H=�I	�	I	�I�I1�I�I.�+I1�1J	�J	�J	� 	J0�*J0�/J0r��stdin_errors�surrogateescape�
stdout_errors�replacec�````�[OO2%c%[OO2%fUO	Q2UUUU1QkoUO29^tt^2UO
VrQ*2oPPP2UOW]*QQ.2U]*Q6wcUO	Q2[U]*2o	UeER%cUORQ2oL)UO[OO2oUOV�2P!)%fhK�9h)zstdin and stdout must be ttysc�:�R%c}[O[OO	2RRQ5[m[O[O
O	2RRQ5[m[
Q[OO29%c[O
O2UQ5[
[[R22UQ5P![c<o[
[SOOQS802SQ5Po=P!Po=hh9h))r��errorsztty =��filez: )
r�
TextIOWrapperr�r	�detachr)�print�isattyrGr
�
BaseExceptionr=r)r
r`rr�stdio_encodingrs& ����r'r��'PtyTests.check_input_tty.<locals>.childs������,�,�S�Y�Y�-=�-=�-?�6D�4@�B��	� �-�-�c�j�j�.?�.?�.A�7E�5B�D��
�
�'�3�9�9�+�+�-�E�E�#�*�*�2C�2C�2E�E�R�
K��e�E�&�M�*��7�� �
K��e�q�{�{�3�3�4�B�q�e�<�=�E�J�J��
K�s�C9�9	D?�D?�0D:�:D?s
z
tty = Trueztty = Falsez%standard IO in should have been a ttyr)r�r	rr)r�detach_readliner�rYr�rr�r�)
r0rr�rr�rrr�r�input_results
&f&f$dd   r'�check_input_tty�PtyTests.check_input_ttys�����y�y���!�!����):�):�)<�)<��M�M�9�:�
	K�
	K��
!�
!�
#�
#��N�N�5�7�*B�C�E�$�	
�
�
�e�A�h��}� =�>���8�|�#��M�M�A�B��E�!�H�~�����)�0�0��AR�S��)�0�0����1C�1C�D������0�$�
#�s�E�E	�E	c#�� �Q[O7c�[Q2oQoUOO	UO
U2OoPUOO	UO
U2mPw�V1OO	UO
U2mP!Pw�	P!X1OO	SO
S2mh9h3h)r��ctypes�PyOS_ReadlineFunctionPointer)r��modulesr�c_void_p�in_dll�	pythonapir)r0r�fp_api�
prev_values&   r'r �PtyTests.detach_readline0s��������$��h�'�A�3�F����*�*�1�;�;��?�E�E�J�;?�A�J�J���a�k�k�6�2�8�
J��?I�
�
�!�!�!�+�+�v�6�<���@J�
�
�!�!�!�+�+�v�6�<�s#�C)�A(C)�B:�3C)�:,C&�&C)c�,�UOQQ2P!)r�quux�r"r7s&r'�test_input_tty�PtyTests.test_input_ttyEs�����X�w�/r&c�.�UOQQQ2P!)�promptésquuxér�r0r7s&r'�test_input_tty_non_ascii�!PtyTests.test_input_tty_non_asciiIs�����Z��'�Br&c�.�UOQQQ2P!)r4�quux�rGr0r7s&r'�'test_input_tty_non_ascii_unicode_errors�0PtyTests.test_input_tty_non_ascii_unicode_errorsMs�����Z��g�>r&c�0�UOQQQQ5P!)zpromptr&z?ValueError: input: prompt string cannot contain null characters)r�r0r7s&r'�test_input_tty_null_in_prompt�&PtyTests.test_input_tty_null_in_promptQs�����Z��+�	�	,r&c�4�UOQQQQQQ5P!)r4r/rGr=zhUnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 6: ordinal not in range(128))rr�r0r7s&r'�"test_input_tty_nonencodable_prompt�+PtyTests.test_input_tty_nonencodable_promptVs"�����Z��'��&�	�	'r&c�4�UOQQQQQQ5P!)rr8rGr=zaUnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 4: ordinal not in range(128))rr�r0r7s&r'�!test_input_tty_nondecodable_input�*PtyTests.test_input_tty_nondecodable_input\s"�����X�{�G�(�&�	�	'r&c�X�QoUOUQ2oQoUOV#2P!)c��[Q[OO2UQ5[O
2[m[Q2[Q[[OO22UQ5P!)zstdin.isatty():rrz	captured:)
rr�r	rrr
r)r
rG�getvalue)r
s&r'r��3PtyTests.test_input_no_stdout_fileno.<locals>.childesN���#�S�Y�Y�%5�%5�%7�e�D�����C�J��(�O��+�u�S�Z�Z�%8�%8�%:�;�%�Hr&squux
)zstdin.isatty(): Truezcaptured: 'prompt')r��assertSequenceEqual)r0r�rr�s&   r'�test_input_no_stdout_fileno�$PtyTests.test_input_no_stdout_filenobs1��	I�
���u�i�0��
��	
� � ��1r&rr+)rr r!r"r�r�r�r�r�*ignore_fork_in_thread_deprecation_warningsr�r"�
contextlib�contextmanagerr r1r5r9r<r?rBrIr%rDrEs@r'r�r��
s�����)��
��
�5��?�?�A�<�B�<�| 1�!%� 1�%6� 1�'0� 1�D������(0�C�?�,�
'�'�
2�
2r&r�c�:`�\sQsQsnQsQsQsQsQsUs	P!)�
TestSortediqc��[[]d22oUQ*o[OU2UO	U[U22UO
V2UO2[OU2UO	U[UQQ52UO
V2[OU2UO	U[UP	Q52UO
V2P!)r�:NNNc�
�U'!r+rrs&r'r�'TestSorted.test_basic.<locals>.<lambda>|s��1�"r&r�)�reverse)r�r�r��shuffler�r]r�rS)r0r�r-s&  r'�
test_basic�TestSorted.test_basicss����E�#�J����A�w�����t������v�d�|�,����D�'��������t������v�d��=�>����D�'����t������v�d�D�9�:����D�'r&c�N�[,2UO[29^tt^2[,Q5PPP2[,PQ5UO[29^tt^2[,P2PPP2P!)%fhKQ9h)%fhP!9h))r�r�)r]r�r�r7s&r'�test_bad_arguments�TestSorted.test_bad_arguments�sk���r�
�
�
�
�y�
)�
)��B��*�	�r�t��
�
�
�y�
)�
)��2�t��*�
)�	*�
)��*�
)�
)�s#�
B�)
B�B	�	B	�B$	�B$	c
��Qo[[[,oSFD-oUO[	U2[	UU222J/	PO[
U22o[[[[[[O,oSFD-oUO[	U2[	UU222J/	P!)�abracadabra)
r�r�rNr�r]r}r�	frozensetr��fromkeys)r0rIrZ�Ts&   r'�test_inputtypes�TestSorted.test_inputtypes�s������u�c�"���A����V�A�Y��q��t��5��
�G�G�C��F�O���c�9�d�E�4�=�=�A���A����V�A�Y��q��t��5�r&c�d�QO2oUO[[UPQ2P!)z,The quick Brown fox Jumped over The lazy Dogc��]!r;rrYs&&r'r�.TestSorted.test_baddecorator.<locals>.<lambda>�s��Qr&)�splitr�r�r]r�s& r'�test_baddecorator�TestSorted.test_baddecorator�s&��=�C�C�E�����)�V�T�4��Gr&r)
rr r!r"rUrXr_rer%rDrEs@r'rOrOqs ����
(��	6�H�Hr&rOc�(`�\sQsQsnQsQsUsP!)�ShutdownTesti�c��Qo[QUQQ5vq#oUOQQ,UO2O22P!)afif 1:
            import builtins
            import sys

            class C:
                def __del__(self):
                    print("before")
                    # Check that builtins still exist
                    len(())
                    print("after")

            c = C()
            # Make this module survive until builtins and sys are cleaned
            builtins.here = sys.modules[__name__]
            sys.here = sys.modules[__name__]
            # Create a reference loop so that this module needs to go
            # through a GC phase.
            here = sys.modules[__name__]
            z-crG)�PYTHONIOENCODING�before�after)rr�r�
splitlines)r0r��rc�out�errs&    r'�test_cleanup�ShutdownTest.test_cleanup�sE����2(��d�9@�B�������(�G�,�c�j�j�l�.E�.E�.G�Hr&r)rr r!r"rqr%rDrEs@r'rhrh�s����I�Ir&rhc�`�\sQsQsn\O
Q6cQ	sLQ
sPP	P
\\,\	QQ2N3s
QsQsQs
QsQsUsP!)�
ImmortalTestsi��c���UOU29^tt^2UO[OU2UO2PPP2P!)%fhP!9hr+)r:�
assertGreaterr��getrefcount�IMMORTAL_REFCOUNT_MINIMUM�r0�immortals&&r'�assert_immortal�ImmortalTests.assert_immortal�s?��
�\�\�(�
#�
#����s���x�8�$�:X�:X�Y�$�
#�
#�
#�s�1A�A'	�A'	c�R�UOFDoUOU2J	P!r+)�	IMMORTALSr|rzs& r'�test_immortals�ImmortalTests.test_immortals�s�����H�� � ��*�'r&c��[UO2]**oUOFDoUOU2J	P!r�)r�rr|�r0�refsr{s&  r'�$test_list_repeat_respect_immortality�2ImmortalTests.test_list_repeat_respect_immortality�s1���D�N�N�#�b�(�����H�� � ��*�'r&c��[UO2]**oUOFDoUOU2J	P!r�)r�rr|r�s&  r'�%test_tuple_repeat_respect_immortality�3ImmortalTests.test_tuple_repeat_respect_immortality�s1���T�^�^�$�r�)�����H�� � ��*�'r&rlr�lr�)rr r!r"r�r�ryr�rgr�rr|r�r�r�r%rDrEs@r'rtrt�sT�����{�{�g��$+�!�$+�!��t�U�H�n�N�u�R��~�N�I�Z�+�+�
+�+r&rtc�d`�\sQsQsnQsQsQsQsQsQs	Qs
Q	sQ
sQs
QsQ
sUsP!)�TestTypei�c�R�[QQ-2oUOUOQ2UOUOQ2UOUO[2UOUO
[12UOUO[2UOQUO2U2oUO[U2U2UOUOU2QQ2o[QU[1QQ-2oUOUOQ2UOUOQ2UOUO[2UOUO
U[12UOUO[2UOQUO2UOQUO2U]*2oUOU]*2UO[U2U2UOUOU2UOUO2Q2UOUO2Q	2UOUO!]Q
2Q2P!)
r{r"c�(`�\sQsQsnQsQsUsP!)�!TestType.test_new_type.<locals>.Bi�c��QU*!)zham%drr7s&r'r��%TestType.test_new_type.<locals>.B.ham�s����~�%r&r)rr r!r"r�r%rDrEs@r'r�r��s����
&�
&r&r�r�rc��QU*!)zspam%srr7s&r'r�(TestType.test_new_type.<locals>.<lambda>�s��h��or&r��ham42�spam42�littles*r)r�r�rr!r �	__bases__r�rf�__base__r\r+r=rSrYr�r�to_bytes)r0r{r�r�r�s&    r'�
test_new_type�TestType.test_new_type�s�����b�"���������S�)��������-�������x�0�������v�i�0��
�
�a�j�j�&�)����*�A�J�J�7�
�C���
�
�d�1�g�q�!��
�
�a�k�k�1�%�	&�	&�
��q�#�h��)E� F�G��������S�)��������-�������x�0�������q�#�h�/��
�
�a�j�j�#�&��
�
�f�a�j�j�)������
�
�+�
�b�E������B���
�
�d�1�g�q�!��
�
�a�k�k�1�%��������'�*��������8�,�������A�x�0�+�>r&c	�(�UO[29^tt^2[QQ-]Q5PPP2UO[29^tt^2[QQ-Q5PPP2P!)%fhKF9h)%fhP!9h)r�r�r�r)r�r�r�r7s&r'�test_type_nokwargs�TestType.test_type_nokwargs�s^��
�
�
�y�
)�
)���b�"��"�*�
�
�
�y�
)�
)���b�r�"�*�
)�*�
)��
)�
)�
)�s#�A-�B�-A=	�6A=	�B	�	B	c	��QFD�oUOUQ59^tt^2[UQ-2oUOUOU2UOUOU2UOUO
[2PPP2J�	UO
[29^tt^2[QQ-2PPP2UO
[29^tt^2[QQ-2PPP2UO
[29^tt^2[QQ-2PPP2[QQ-2oQFD�oUOUQ59^tt^2VmUOUOU2UOUOQ2UOUO
[2PPP2J�	[QQ-2oUO
[29^tt^2QUmPPP2UOUOQ2UO
[29^tt^2QUmPPP2UOUOQ2UO
[29^tt^2QUmPPP2UOUOQ2P!)%fhCJ�9h)%fhCK9h)%fhCK�9h)%fhCK�9h)%fhCJ�9h)%fhCK'9h)%fhK�9h)%fhK�9h)r{r�zABuA�Br�r�)r{�Ä�🐍zB.A�42r>r)
r:r�r�rr!r r�r��UnicodeEncodeErrorr�)r0r�r{r�s&   r'�test_type_name�TestType.test_type_namesF��>�D����4��(�(���r�2�&��� � ����T�2�� � �����6�� � ����x�8�	)�(�?��
�
�z�
*�
*���2�r�"�+�
�
�
�1�
2�
2���R��$�3�
�
�
�y�
)�
)���r�2��*�
��b�"���>�D����4��(�(�!�
�� � ����T�2�� � �����5�� � ����x�8�	)�(�?�
��b�"���
�
�
�z�
*�
*�!�A�J�+�������S�)�
�
�
�1�
2�
2�#�A�J�3�������S�)�
�
�
�y�
)�
)��A�J�*�������S�)�;)�(�(��
+�
*�
*��
2�
2�
2��
)�
)�
)��
)�(�(��+�
*�
*��3�
2��*�
)�s��A&J/	�1K�$K�K,�AL	�/L�8L)�L<�/K
�8K
�K	�
K	�K)	�!K)	�,K=	�5K=	�L
�	L
�L&	�L&	�)L9	�2L9	�<M	�M	c���[QQQQ-2oUOUOQ2UOUOQ2UOUO[2UO[29^tt^2[QQQQ-2PPP2UOUOQ2QUmUOUOQ2UOUOQ2UO[29^tt^2QUmPPP2UOUOQ2P!)%fhK�9h)%fhKA9h)r{r!zB.CrxzD.Er)r�r�rr!r r�r�r�s& r'�test_type_qualname�TestType.test_type_qualname"s�����b�>�5�1�2��������S�)��������/�������x�0�
�
�
�y�
)�
)���b�>�4�0�1�*��������/����������S�)��������/�
�
�
�y�
)�
)�!�A�N�*��������/�*�
)��*�
)�s$�E�E�E	�
E	�E'	� E'	c��[QQQ]*-2oUOUOQ2UOUO[2UOUOQ*]*2QUmUOUOQ2UOQUO2]+UmUOUOQ*]+2P!)r{r"�
testmoduler)r�r�rr r+r\r"r�s& r'�test_type_firstlineno�TestType.test_type_firstlineno2s�����b�,�b�1�2��������S�)�������x�0�������$5�6��;�#���������|�4����*�A�J�J�7����������$5�6��;r&c�h�Q2oUOvoUOU[O2QUmUO	UOQ2UO[29^tt^2U;PPP2UO	UOQ2P!)%fhK.9h)c�2`�Q39o1nU1QkQR3
p2!)r^c� :�\sQsQsYsQsP!)�(TestType.test_type_typeparams.<locals>.Ai>r)rr r!r"�__type_params__r%)�.type_paramss�r'r{r�>s����r&r{r)r^�
.generic_baser�s  @r'�<generic parameters of A>�@TestType.test_type_typeparams.<locals>.<generic parameters of A>>s����	�	�	r&�whatever)r�rrV�TypeVarr�r�r�)r0r{r^s&  r'�test_type_typeparams�TestType.test_type_typeparams=s���	�
�
�
������a����0�&�������*�*�J�7�
�
�
�y�
)�
)��!�*�����*�*�J�7�*�
)�s�8B!�!B1	�*B1	c��QFD.o[QQQU-2oUOUOU2J0	UO[29^tt^2[QQQQ-2PPP2[QQ-2oUOUOP2QFD%oVmUOUOU2J'	P!)%fhKg9h)r�r{r��x�y)r�r�r��xy�xr�Nr)r�r�r�r�r�r�r�N)r�r�r�r�r�)r0r�r{s&  r'�
test_type_doc�TestType.test_type_docHs���F�C��S�"�y�#�.�/�A����Q�Y�Y��,�G��
�
�1�
2�
2���b�9�j�1�2�3�
��b�"���������D�)�R�C��I����Q�Y�Y��,�S�3�
2�s�C�C	�C	c
���[QQ[Q]Q]-22oUOUO]2UOUO]2UOUO
Q2P!)r{r�rZr)r�r�r�r�rZrr�s& r'�test_type_frozendict�TestType.test_type_frozendictUsZ����b�*�c�1�c�1�%5�6�7��������a� �������a� �������S�)r&c	�D�UO[29^tt^2[2PPP2UO[29^tt^2[QQ2PPP2UO[29^tt^2[QQ-Q2PPP2UO[29^tt^2[QQ-Q5PPP2UO[29^tt^2[Q,-2PPP2UO[29^tt^2[QQ[O-22PPP2UO[29^tt^2[QQ-2PPP2UO[29^tt^2[Q[
1-2PPP2UO[29^tt^2[Q[[1-2PPP2P!)%fhCK�9h)%fhCK�9h)%fhCK�9h)%fhCKq9h)%fhCKR9h)%fhCK9h)%fhK�9h)%fhK�9h)%fhP!9h)Nr{r�rr+)r�r�r�rZrr�rSrNr7s&r'�
test_bad_args�TestType.test_bad_args[s���
�
�
�y�
)�
)��F�*�
�
�
�y�
)�
)���b�M�*�
�
�
�y�
)�
)���b�"�b�!�*�
�
�
�y�
)�
)���b�r�"�*�
�
�
�y�
)�
)���b�"��*�
�
�
�y�
)�
)���b�%�0�0��4�5�*�
�
�
�y�
)�
)���g�r�"�*�
�
�
�y�
)�
)���t�g�r�"�*�
�
�
�y�
)�
)���s�C�j�"�%�*�
)�!*�
)�
)��
)�
)�
)��
)�
)�
)��
)�
)�
)��
)�
)�
)��
)�
)�
)��
)�
)��
)�
)��
)�
)�
)�s��G0�
H�H�5H,�)I�"I�#I(�I;�J�0H	�9H	�H	�
H	�H)	�!H)	�,H=	�5H=	�I	�	I	�I%	�I%	�(I8	�1I8	�;J	�J	�J	�J	c
���UO[29^tt^2[QQ
QQ-2PPP2UO[29^tt^2[Q[1QQ-2PPP2UO[29^tt^2[QQ
QP-2PPP2UO[29^tt^2[QQ
QQ-2PPP2UO[29^tt^2[QQ
QQ-2PPP2UO[29^tt^2[QQ
QQQ]-2PPP2UO[29^tt^2[QQ
QQ-2PPP2UO[29^tt^2[QQ
QQ-2PPP2QQ	2oUO[29^tt^2[QU1QQ-2PPP2UO[29^tt^2[QU1QQ-2PPP2P!)%fhCK9h)%fhCK�9h)%fhCK�9h)%fhCK�9h)%fhCKz9h)%fhCKW9h)%fhCK69h)%fhCK9h)%fhK�9h)%fhP!9h)
r{r9r�r�r�r�r+�__weakref__c��\sQsQsQsP!)�"TestType.test_bad_slots.<locals>.Bi�rrqrr&r'r�r��r�r&r�r)r+r+)r�r�)r�r�r�rSr�)r0r�s& r'�test_bad_slots�TestType.test_bad_slotsos��
�
�
�y�
)�
)���b�;��-�.�*�
�
�
�y�
)�
)���s�f�{�C�0�1�*�
�
�
�y�
)�
)���b�;��+�,�*�
�
�
�y�
)�
)���b�;��-�.�*�
�
�
�y�
)�
)���b�;��1�2�*�
�
�
�z�
*�
*���b�;��S�!�4�5�+�
�
�
�y�
)�
)���b�;�(@�A�B�*�
�
�
�y�
)�
)���b�;�(F�G�H�*�	�	�
�
�
�y�
)�
)���q�d�[�*�5�6�*�
�
�
�y�
)�
)���q�d�[�-�8�9�*�
)�+*�
)�
)��
)�
)�
)��
)�
)�
)��
)�
)�
)��
)�
)�
)��
*�
*�
*��
)�
)�
)��
)�
)�
)��
*�
)��
)�
)�
)�s��H)�H=�I�I%�8I9�-J
�$J!�J5�K	�K�)H:	�2H:	�=I	�I	�I"	�I"	�%I6	�.I6	�9J
	�J
	�
J	�J	�!J2	�*J2	�5K	�>K	�	K	�K	�K-	�%K-	c��[OQQ,2oUOQ2[UO	22o[QQU2oUO
[UOO	22Q*QQ,2P!)r�r�r�)r�rs)rNr�r)r��OrderedDict�move_to_endr�r�r�r�r+)r0�odr�r�s&   r'�test_namespace_order�TestType.test_namespace_order�sm��
�
$�
$�h��%9�
:��
���s������
�#����b�"�������a�j�j�.�.�0�1�"�5��(�7K�Lr&r)rr r!r"r�r�r�r�r�r�r�r�r�r�r�r%rDrEs@r'r�r��sD����?�>#�*�B0� 	<�	8�-�*�&�(:�2M�Mr&r�c�t�]QHGo[OQ6XcUO	U[
22U!)r)�DocTestSuite�short)�doctestr�r��float_repr_style�addTestr)�loader�tests�patternr�s&&& r'�
load_testsr��s)��$�
���w�&�
�
�
�l�8�,�-��Lr&r�g��7y�AC)r@r)r�rs)�9ru)rYr�)�99�c)�100r�)�314rV)rWrV)z314 rV)rXrV)rYrs)br�rr�rLr-rurwr�rr�r2r�r~r�r�r[r�rrZrVr�r�rPr�	functoolsr�inspectr�	itertoolsr�textwraprrrr	�operatorr
r�r�test.supportrr
rrr�test.support.import_helperr�test.support.os_helperrrr�test.support.script_helperr�test.support.testcaser�test.support.warnings_helperrr�
unittest.mockrrr�r�r�r�rZr�r�r#rrr)rHrQrHr�r�rNrt�test_conv_no_sign�test_conv_signr]rfrprury�TestCaser{r��
skipUnlessr�rOrhrtr�r�r�mainrr&r'�<module>r�s ���������	�	�
��	�
��
�	�
���
���� �� ���<�<���0�;�(�4�H�H�7�<�7�*�*����V���1��A���)����
�l�
#�
�B�B��� ��$
�
�
	���������$�	
�c�k�k�	�C�K�K�(�	����	�Z� �	�Z��	�j��	�Z� �	�
$�%9�	:�C�@�	�U��Z� �'��.	�������	����	�
�+�	
�c�k�k�	�C�K�K�(�	���	�*��	�Z� �	�Z��	�j��	�Z� �	�
$�%9�	:�C�@�	�U��Z� �'��,�������j&)�,�h�.?�.?�j&)�ZMk�X�&�&�k�\
���S�H�I�r2�x� � �r2�J�r2�h(H��"�"�(H�VI�8�$�$�I�D�+�H�%�%�+��+�8tM�x� � �tM�n��z���M�M�O���Uc����C�&��s�J-�-J<�3J<�;J<

Youez - 2016 - github.com/yon3zu
LinuXploit