403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.59
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/test/__pycache__/test_yield_from.cpython-315.opt-1.pyc
R
>lqj��c���Qs]PHs]PHs]QHGsGsGs]QHGsQQ\O2s
QQ\O2s\Q6Xc\O2P!P!)z�
Test suite for PEP 380 implementation

adapted from original tests written by Greg Ewing
see <http://www.cosc.canterbury.ac.nz/greg.ewing/python/yield-from/YieldFrom-Python3.1.2-rev5.zip>
)�captured_stderr�
disable_gc�
gc_collect)�supportc�`�\sQs]snQsQsQsQsQsQs	Qs
QsQ	sQ
s
QsQsQ
sQsQsQsQsQsQsQsQsQsQsQsQsQsQsQsQs Qs!Qs"Q s#Q!s$Q"s%Q#s&Q$s'Q%s(Us)P!)&�TestPEP380Operationz
Test semantics.
c�``�,nUU1QkoU1QknU2FDoROQU802J	UOR,QN2P!)z8
Test delegation of initial next() call to subgenerator
c3�|: �ROQ2R2FPiw�K
ROQ2P!K3h��Starting g1�Finishing g1��append��g2�traces���)C:\Python315\\Lib\test\test_yield_from.py�g1�OTestPEP380Operation.test_delegation_of_initial_next_to_subgenerator.<locals>.g1s,�����L�L��'��t�O�O��L�L��(�
���<�:�<c3�`: �ROQ2]*w�	ROQ2P!3h)�Starting g2�Finishing g2r�rs�rr�OTestPEP380Operation.test_delegation_of_initial_next_to_subgenerator.<locals>.g2s#�����L�L��'��H��L�L��(�s�+.�Yielded )r
rz
Yielded 42rr�r
�assertEqual��selfr�xrrs&  @@r�/test_delegation_of_initial_next_to_subgenerator�CTestPEP380Operation.test_delegation_of_initial_next_to_subgeneratorsF�����	)�	)���A��L�L��,�-������ 
�	�c�4``�,nUU1QkoU1QknU2FDoROQU802J	UOQ2UOR,QN2P![c.oSOSO]*Q2Po=KIPo=hh9h)z/
Test raising exception in initial next() call
c3�: �ROQ2R2FPiw�K
ROQ2P!KROQ2h9h3hr	rrs��rr�KTestPEP380Operation.test_raising_exception_in_initial_next_call.<locals>.g11s>����
-����]�+��4������^�,� �����^�,�s%�A�=�;�=�A�=�A�Ac�l:�ROQ2[Q2gROQ2h9h)r�spanish inquisition occurredr�r
�
ValueErrorrs�rr�KTestPEP380Operation.test_raising_exception_in_initial_next_call.<locals>.g27s.���
-����]�+� �!?�@�@�����^�,�s� �3r�'subgenerator failed to raise ValueErrorr')r
rrr�r
�failr)r�args�rrr�errs&   @@r�+test_raising_exception_in_initial_next_call�?TestPEP380Operation.test_raising_exception_in_initial_next_call,s������	-�	-�	A��T�����Q�0�1��

�I�I�?�@����� 
�	��	�	H����Q�V�V�A�Y�(F�G�G��	H���$A�	B�)B�*#B�Bc�``�,nUU1QkoU1QknU2FDoROQU802J	UOR,QN2P!)z0
Test delegation of next() call to subgenerator
c3�: �ROQ2Qw�	R2FPiw�K
Qw�	ROQ2P!K3h�r
�g1 ham�g1 eggsrrrs��rr�LTestPEP380Operation.test_delegation_of_next_call_to_subgenerator.<locals>.g1Ps6�����L�L��'��N��t�O�O��O��L�L��(�
�s�#A�A�Ac3�j: �ROQ2Qw�	Qw�	ROQ2P!3h�r�g2 spam�g2 more spamrrrs�rr�LTestPEP380Operation.test_delegation_of_next_call_to_subgenerator.<locals>.g2Vs)�����L�L��'��O� � ��L�L��(�s�03r)r
�Yielded g1 hamr�Yielded g2 spam�Yielded g2 more spamr�Yielded g1 eggsrrrs&  @@r�,test_delegation_of_next_call_to_subgenerator�@TestPEP380Operation.test_delegation_of_next_call_to_subgeneratorKsF�����	)�	)�
��A��L�L��,�-������	 
�		r"c�4``�,nUU1QkoU1QknU2FDoROQU802J	UOQ2UOR,QN2P![c.oSOSO]*Q2Po=KIPo=hh9h)z1
Test raising exception in delegated next() call
c3�: �ROQ2Qw�R2FPiw�K
Qw�ROQ2P!KROQ2h9h3hr6rrs��rr�MTestPEP380Operation.test_raising_exception_in_delegated_next_call.<locals>.g1m�J����
-����]�+����4��������^�,� �����^�,��+�A�!A�A�
A�A�A�A�Ac3�~: �ROQ2Qw�[Q2gROQ2h9h3h)rr<�hovercraft is full of eelsrr(rs�rr�MTestPEP380Operation.test_raising_exception_in_delegated_next_call.<locals>.g2us7����
-����]�+��� �!=�>�>�����^�,�s�=�!'�:�=rr+rK�r
r?rr@rrr,r/s&   @@r�-test_raising_exception_in_delegated_next_call�ATestPEP380Operation.test_raising_exception_in_delegated_next_callhs������	-�	-�	A��T�����Q�0�1��

�I�I�?�@����� 
�	��	�	F����Q�V�V�A�Y�(D�E�E��	F�r3c�``�,nUU1QkoU1QknU2o[U2o]oUOU2oROQU802U]*
oJ2[cLh9hSO	R,QN2P!)z
Test delegation of send()
c3��: �ROQ2Qw�	oROQU802R2FPiw�K
Qw�	oROQU802ROQ2P!K13h�r
r7zg1 received r8rr�rrrs ��rr�7TestPEP380Operation.test_delegation_of_send.<locals>.g1��X�����L�L��'���A��L�L�Q�0�1��t�O�O���A��L�L�Q�0�1��L�L��(�
���8A0�A.�3A0c3�: �ROQ2Qw�	oROQU802Qw�	oROQU802ROQ2P!3h)rr<�g2 received r=rr�rrs �rr�7TestPEP380Operation.test_delegation_of_send.<locals>.g2�sK�����L�L��'���A��L�L�Q�0�1�$�$�A��L�L�Q�0�1��L�L��(�s�AAr)r
�
g1 received 1rr@�
g2 received 2rAz
g2 received 3rrBz
g1 received 4r)�next�sendr
�
StopIterationr)rr�g�yrrrs&    @@r�test_delegation_of_send�+TestPEP380Operation.test_delegation_of_send�s�����	)�	)�
�D����G��
��	���F�F�1�I�����Q�0�1��Q�����	��	������ 
�	s�2A�	A(�$A(�'A(c�```�,nUU1QknU1QknUU1QkoUO[U2UOR,QN2P!)z1
Test handling exception while delegating 'send'
c3��: �ROQ2Qw�	oROQU802R2FPiw�K
Qw�	oROQU802ROQ2P!K13hrRrrSs ��rr�MTestPEP380Operation.test_handling_exception_while_delegating_send.<locals>.g1�rUrVc3�z: �ROQ2Qw�	oROQU802[Q2g3h)rr<rXrKr(rYs �rr�MTestPEP380Operation.test_handling_exception_while_delegating_send.<locals>.g2�s4�����L�L��'���A��L�L�Q�0�1��9�:�:�s�8;c��:�R2o[U2o]oUOU2oROQU802U]*
oJ2[cROQ2P!h9h)�rr_)r]r^r
r_)r`rarrrs   ��r�run�NTestPEP380Operation.test_handling_exception_while_delegating_send.<locals>.run�s`�����A��Q��A��A�
.�����q�	�A��L�L��!4�5���F�A�� �
.����_�-�
.�s�2A
�
	A*�A*�)A*)r
r[rr@r\)�assertRaisesr)r�rrkrrrs& @@@r�-test_handling_exception_while_delegating_send�ATestPEP380Operation.test_handling_exception_while_delegating_send�s@�����	)�	)�
	.�	
���*�S�)����� 
�	r"c��``�,nUU1QkoU1QknU2o[]2FD#o[U2oROQU802J%	UO2UO	R,QN2P!)z
Test delegating 'close'
c3�: �ROQ2Qw�R2FPiw�K
Qw�ROQ2P!KROQ2h9h3hr6rrs��rr�5TestPEP380Operation.test_delegating_close.<locals>.g1�rHrIc3�: �ROQ2Qw�Qw�ROQ2P!ROQ2h9h3hr;rrs�rr�5TestPEP380Operation.test_delegating_close.<locals>.g2��:����
-����]�+���$�$����^�,�����^�,���A
�4�A
�A�A
rrM)�ranger]r
�closer)rrr`�irrrs&    @@r�test_delegating_close�)TestPEP380Operation.test_delegating_close�sc�����	-�	-�
�D���q��A��Q��A��L�L��,�-��	
���	����� 
�	r"c�``�,nUU1QkoU1QknU2o[]2FD#o[U2oROQU802J%	UO2UO	Q2UO
R,QN2P![
cNoSO
SO]*Q2SOSO[2Po=KiPo=hh9h)z2
Test handling exception while delegating 'close'
c3�: �ROQ2Qw�R2FPiw�K
Qw�ROQ2P!KROQ2h9h3hr6rrs��rr�MTestPEP380Operation.test_handing_exception_while_delegating_close.<locals>.g1	rHrIc3�: �ROQ2Qw�Qw�ROQ2[Q2gROQ2[Q2g9h3h)rr<r=r�"nybbles have exploded with delightr(rs�rr�MTestPEP380Operation.test_handing_exception_while_delegating_close.<locals>.g2sV����
G����]�+���$�$����^�,� �!E�F�F�����^�,� �!E�F�F�s�A�=�A�A�Arr+r�rM)rxr]r
ryr-r)rr.�assertIsInstance�__context__�
GeneratorExit�rrr`rzrr0rrs&     @@r�-test_handing_exception_while_delegating_close�ATestPEP380Operation.test_handing_exception_while_delegating_closes������	-�	G�
	A���A��1�X����G�����Q�0�1��
�G�G�I�

�I�I�?�@����� 
�	���	@����Q�V�V�A�Y�(L�M��!�!�!�-�-��?�?��	@�s�A
B�	C�C�AC�Cc�``�,nUU1QkoU1QknU2o[]2FD#o[U2oROQU802J%	[Q2oUO	U2UOQ2UO
R,QN2P![c.oSO
SO]*Q2Po=KIPo=hh9h)z
Test delegating 'throw'
c3�: �ROQ2Qw�R2FPiw�K
Qw�ROQ2P!KROQ2h9h3hr6rrs��rr�5TestPEP380Operation.test_delegating_throw.<locals>.g12rHrIc3�: �ROQ2Qw�Qw�ROQ2P!ROQ2h9h3hr;rrs�rr�5TestPEP380Operation.test_delegating_throw.<locals>.g2:rvrwr�tomato ejectedr+rM�rxr]r
r)�throwr-rr.r�s&     @@r�test_delegating_throw�)TestPEP380Operation.test_delegating_throw-s������	-�	-�
	A���A��1�X����G�����Q�0�1���+�,�A�
�G�G�A�J�
�I�I�?�@����� 
�	��	�	:����Q�V�V�A�Y�(8�9�9��	:�s�AB�	C	�C	�#C�C	c�`�,nU1Qko[2oUU2[Q2oUU2QUmUU2UOR,QN2P!)z3
Test 'value' attribute of StopIteration exception
c�:�ROUOO8QU802ROQUO802P!)z: zvalue = )r
�	__class__�__name__�value)r0rs&�r�pex�PTestPEP380Operation.test_value_attribute_of_StopIteration_exception.<locals>.pexZs1����L�L�Q�[�[�%9�%9�1�=�>��L�L����2�3r"�spam�eggs)zStopIteration: zvalue = None�StopIteration: spamzvalue = spamr�zvalue = eggs)r_r�r)rr�r0rs&  @r�/test_value_attribute_of_StopIteration_exception�CTestPEP380Operation.test_value_attribute_of_StopIteration_exceptionUsS�����	4�
�O���A���&�!���A������A������ 
�	r"c�^`�U1QkoQnUO[U22Q,2P!)c3�8: �R2FPiw�K
P!K3h�N��rs�rr�:TestPEP380Operation.test_exception_value_crash.<locals>.g1ps�����t�O�O���
��c3� �Qw�	]*,!3hr�r�r�r"rr�:TestPEP380Operation.test_exception_value_crash.<locals>.g2rs����J��4�K�s�
r)r�list)rrrs& @r�test_exception_value_crash�.TestPEP380Operation.test_exception_value_crashms'���	�	�	
����b�d��d�V�,r"c�``�,nUU1QkoQU1QkknU2FDoROQU802J	UOR,QN2P!)z
Test generator return value
c3�8: �ROQ2Qw�	R2FPiw�K
oROQU802]Q[]21FD*oRU2FPiw�K
oROQU802J,	Qw�	ROQ2P!KnK73h)r
r7zg2 returned r8r��)r
r_)�ret�vrrs  ��rr�;TestPEP380Operation.test_generator_return_value.<locals>.g1}s������L�L��'��N��T�/�/�C��L�L�S�2�3���m�A�.�.��!#�A��&�&������6�7�/��O��L�L��(�
"�'�s!�#B�B�8B�B
� 7B�Bc3�~: �ROQ2Qw�	Qw�	ROQ2U%cU!P!3hr;r)r�rs&�rr�;TestPEP380Operation.test_generator_return_value.<locals>.g2�s6�����L�L��'��O� � ��L�L��(�����s�5=�=rr�)r
r?rr@rArzg2 returned Nonerr@rArz
g2 returned 1rr@rArzg2 returned (2,)rr@rArzg2 returned StopIteration(3)rBrrrs&  @@r�test_generator_return_value�/TestPEP380Operation.test_generator_return_valuexsF�����		)�	���A��L�L��,�-������ 
�	r"c��,oQoU2FDoUOQU802J	UOU,QN2P!)z,
Test delegation of next() to non-generator
c3�> �[]2FPiw�K
P!K3h���rxr�r"rr`�GTestPEP380Operation.test_delegation_of_next_to_non_generator.<locals>.g������Q�x�������r)�	Yielded 0�	Yielded 1�	Yielded 2r)rrr`rs&   r�(test_delegation_of_next_to_non_generator�<TestPEP380Operation.test_delegation_of_next_to_non_generator�s>����	 ���A��L�L��,�-������ 
�	r"c��,oQoU2o[]2FD)oUOP2oUOQU802J+	UOU,QN2P!)z)
Test conversion of send(None) to next()
c3�> �[]2FPiw�K
P!K3hr�r�r�r"rr`�BTestPEP380Operation.test_conversion_of_sendNone_to_next.<locals>.g�r�r��	Yielded: )z
Yielded: 0z
Yielded: 1z
Yielded: 2)rxr^r
r)rrr`�girras&     r�#test_conversion_of_sendNone_to_next�7TestPEP380Operation.test_conversion_of_sendNone_to_next�sV����	 �
�S���q��A�����
�A��L�L�!�-�.��	
���� 
�	r"c�"`�,nU1QkoU2o[U2[29^tt^2oUO2PPP2UOWO	2P2UORQQ,2P!)%fhKF9h)z-
Test delegation of close() to non-generator
c3��: �ROQ2[]2FPiw�K
ROQ2ROQ2P!K(ROQ2h9h3h��
starting gzg should not be here�finishing g�r
rxrs�rr`�HTestPEP380Operation.test_delegation_of_close_to_non_generator.<locals>.g��Q����
,����\�*� ��8�#�#����3�4����]�+�$�����]�+��+�A(� A�A�A�A(�A�A%�%A(r�r�)r]rryr�getvalue)rr`r��outputrs&   @r�)test_delegation_of_close_to_non_generator�=TestPEP380Operation.test_delegation_of_close_to_non_generator�ss�����	,��S���R��
�
�
�&��H�H�J��������*�B�/������� 
�	��
�s�A>�>B	�B	c�`�,nU1QkoU2o[]2FD#o[U2oROQU802J%	[Q2oUO	U2UOQ2UO
R,QN2P![c.oSO
SO]*Q2Po=KIPo=hh9h)z*
Test delegating 'throw' to non-generator
c3�: �ROQ2[]
2FPiw�K
ROQ2P!KROQ2h9h3h)�
Starting g�Finishing gr�rs�rr`�ETestPEP380Operation.test_delegating_throw_to_non_generator.<locals>.g�sB����
,����\�*� ��9�$�$����]�+�%�����]�+�s)�A� A�?�A�A�A�A�Arr�r+)r�r�r�r�z	Yielded 3z	Yielded 4r�r�)rr`r�rzrr0rs&     @r�&test_delegating_throw_to_non_generator�:TestPEP380Operation.test_delegating_throw_to_non_generator�s������	,�
	A���B��1�X����H�����Q�0�1���+�,�A��H�H�Q�K�
�I�I�?�@����� 
�	��	�	9����Q�V�V�A�Y�'7�8�8��	9�s�AB	�		C�C�#B<�<Cc�r`�,nU1QkoU2o[U2[]2FD)oUO]*2oROQU802J+	UO	Q2UORQQ,2P![
c.oSO
QSO]*2Po=KIPo=hh9h)z*
Test attempting to send to non-generator
c3��: �ROQ2[]2FPiw�K
ROQ2ROQ2P!K(ROQ2h9h3hr�r�rs�rr`�GTestPEP380Operation.test_attempting_to_send_to_non_generator.<locals>.gr�r�zShould not have yielded: z#was able to send into non-generatorr^r�r�)	r]rxr^r
r-�AttributeError�assertInr.r)rr`r�rrar0rs&     @r�(test_attempting_to_send_to_non_generator�<TestPEP380Operation.test_attempting_to_send_to_non_generators������	,�		=���B���H��1�X���G�G�B�K�����a�A�B��
�I�I�;�<������� 
�	��	�	-��M�M�&�!�&�&��)�,�,��	-�s�AA>�>	B6�B6�	#B1�1B6c�`�QQ2nU1QkoUO[29^tt^2U2oUO[U2]2UO	]2PPP2UO[29^tt^2U2oUO[U2]2UO[2PPP2[O29^tt^2oU2oUO[U2]2UO2UO[UOO2PPP2P!)%fhK�9h)%fhK�9h)%fhP!9h)z7
Test subiterator with a broken getattr implementation
c�4`�\sQsQsnQsQsQsQsUsP!)�@TestPEP380Operation.test_broken_getattr_handling.<locals>.Broken�!c��U!r�r��rs&r�__iter__�ITestPEP380Operation.test_broken_getattr_handling.<locals>.Broken.__iter__"����r"c��]!�rjr�r�s&r�__next__�ITestPEP380Operation.test_broken_getattr_handling.<locals>.Broken.__next__$s��r"c��]]*P!r�r�)r�attrs&&r�__getattr__�LTestPEP380Operation.test_broken_getattr_handling.<locals>.Broken.__getattr__&s���!��r"r�)	r��
__module__�__qualname__�__firstlineno__r�r�r��__static_attributes__�__classdictcell__��
__classdict__s@r�Brokenr�!s����
�
�
�
r"r�c3�8: �R2FPiw�K
P!K3hr�r�)r�s�rr`�;TestPEP380Operation.test_broken_getattr_handling.<locals>.g)s�����x���r�)rm�ZeroDivisionErrorrr]r^r�r�r�catch_unraisable_exceptionry�
unraisable�exc_type)rr`r��cmr�s&   @r�test_broken_getattr_handling�0TestPEP380Operation.test_broken_getattr_handlings	���	�	�	 ��
�
�0�
1�
1���B����T�"�X�q�)��G�G�A�J�2�
�
�
�0�
1�
1���B����T�"�X�q�)��H�H�^�$�2�
�
/�
/�
1�
1�R���B����T�"�X�q�)��H�H�J����.��
�
�0F�0F�G�2�
1�2�
1��
2�
1��
2�
1�
1�s6�4E
�	8E �&AE3�
E	�E	� E0	�)E0	�3F	�<F	c�```�,nUU1QknQnU1QkoUO[U2UORQ,2P!)z'
Test exception in initial next() call
c3�|: �ROQ2R2FPiw�K
ROQ2P!K3h)�g1 about to yield from g2�g1 should not be hererrs��rr�CTestPEP380Operation.test_exception_in_initial_next_call.<locals>.g1Bs.�����L�L�4�5��t�O�O��L�L�0�1�
�rc3�( �]]*w�	P!3hr�r�r�r"rr�CTestPEP380Operation.test_exception_in_initial_next_call.<locals>.g2Fs����A�#�I�s�c�.:�R2o[U2P!r�)r])r�rs �rrk�DTestPEP380Operation.test_exception_in_initial_next_call.<locals>.runHs�����B���Hr"r	)rmrrrns& @@@r�#test_exception_in_initial_next_call�7TestPEP380Operation.test_exception_in_initial_next_call=sD�����	2�	�	�	
���+�C�0�����'� 
�	r"c�<```�,nUU1QkoUU1QknU2nRFDoROQU802J	UOQ2UOR,QN2P![c.oSOSO]*Q2Po=KIPo=hh9h)z 
Test attempted yield-from loop
c3�: �ROQ2Qw�	ROQ2R2FPiw�K
ROQ2P!K3h)�g1: starting�y1�g1: about to yield from g2r
rrs��rr�>TestPEP380Operation.test_attempted_yield_from_loop.<locals>.g1Us?�����L�L��(��J��L�L�5�6��t�O�O��L�L�0�1�
�s�4A�A�Ac3�: �ROQ2Qw�	ROQ2RFPiw�K
ROQ2P!K3h)�g2: starting�y2�g2: about to yield from g1zg2 should not be herer)r�rs��rr�>TestPEP380Operation.test_attempted_yield_from_loop.<locals>.g2\s=�����L�L��(��J��L�L�5�6��M�M��L�L�0�1�
�s�/A
�A�A
r�z$subgenerator didn't raise ValueErrorzgenerator already executing)rzYielded: y1rrzYielded: y2rr,)rrrar0rr�rs&   @@@r�test_attempted_yield_from_loop�2TestPEP380Operation.test_attempted_yield_from_loopPs������	2�	2�	>���B������a�1�2��

�I�I�<�=����� 
�	��	�	F����Q�V�V�A�Y�'D�E�E��	F�s�&A#�#	B�-B�.#B�Bc�X```�,nUU1QkoUU1QknQQ[2nU2o[]2FD#o[U2oROQU802J%	RQ2oUO	U2SFDoROQU802J	UOR,QN2P!)z-
Test returning value from delegated 'throw'
c3�: �ROQ2Qw�R2FPiw�K
Qw�ROQ2P!KROQ2h9h3hr6rrs��rr�ITestPEP380Operation.test_returning_value_from_delegated_throw.<locals>.g1xrHrIc3�: �ROQ2Qw�Qw�P!Rc ROQ2Qw�Qw�P!h9h3h)rr<r=�Caught LunchError in g2zg2 lunch savedzg2 yet more spamr)�
LunchErrorrs��rr�ITestPEP380Operation.test_returning_value_from_delegated_throw.<locals>.g2�sI����
)����]�+���$�$���
)����6�7�&�&�(�(�
)�s*�A�#�A�A	�A	�A�A	�	Ac��\sQsQsQsP!)�QTestPEP380Operation.test_returning_value_from_delegated_throw.<locals>.LunchError�r��r�r�r�r�r�r�r"rr$r'����r"r$rr�)r
r?rr@r#zYielded g2 yet more spamrBr)�	Exceptionrxr]r
r�r)	rrr`rzrr0r$rrs	&     @@@r�)test_returning_value_from_delegated_throw�=TestPEP380Operation.test_returning_value_from_delegated_throwss������	-�	)�	��	��D���q��A��Q��A��L�L��,�-��
�'�(��	����
��A��L�L��,�-������	 
�		r"c�``�,nUU1QkoU1QknUP2U]2UQ2U[]22UOR,QN2P!)z!
Test next and return with value
c��:�RU2o[U2ROQ2[U2ROQ2P![c!oROQS802Po=P!Po=hh9h)�f resuming g�f SHOULD NOT BE HERE�	f caught )r]r
r_��rr�r0r`rs&  ��r�f�>TestPEP380Operation.test_next_and_return_with_value.<locals>.f�sZ����1��B���H�
3����^�,��R�����3�4�� �
3����a�1�2�2��
3�s�-A�	A1�A1�A,�,A1c3�h: �ROQ2Pw�	ROQU802U!3h)�
g starting�g returning r)r4rs&�rr`�>TestPEP380Operation.test_next_and_return_with_value.<locals>.g�s)�����L�L��&���L�L�Q�0�1��H�s�/2r�)r8r0�g returning None�f caught StopIteration()r8r0�
g returning 1�f caught StopIteration(1)r8r0�g returning (2,)�f caught StopIteration((2,))r8r0�g returning StopIteration(3)�(f caught StopIteration(StopIteration(3))�r_r�rr5r`rs& @@r�test_next_and_return_with_value�3TestPEP380Operation.test_next_and_return_with_value�sM�����	3�	�
	
�$��	�!��	�$��	�-��
������ 
�	r"c�``�,nUU1QkoU1QknUP2U]2UQ2U[]22UOR,QN2P!)z!
Test send and return with value
c��:�RU2o[U2ROQ2UOQ2ROQ2P![c!oROQS802Po=P!Po=hh9h)�f sending spam to gr�r1r2)r]r
r^r_r3s&  ��rr5�>TestPEP380Operation.test_send_and_return_with_value.<locals>.f�s_����1��B���H�
3����2�3���������3�4�� �
3����a�1�2�2��
3�s�3A�	A7�A7�A2�2A7c3�: �ROQ2Pw�	oROQU802ROQU802U!3h)r8zg received r9r)r4rrs& �rr`�>TestPEP380Operation.test_send_and_return_with_value.<locals>.g�s:�����L�L��&��A��L�L�A�/�0��L�L�Q�0�1��H�s�AAr�)r8rI�g received 'spam'r;r<r8rIrMr=r>r8rIrMr?r@r8rIrMrArBrCrDs& @@r�test_send_and_return_with_value�3TestPEP380Operation.test_send_and_return_with_value�sM�����	3�	�	
�$��	�!��	�$��	�-��
������!
�	r"c�>```�UU1QknUU1Qko]Q[]21FDwn,nU2oRO[U22RO[UO	[
222UO
R]QQR8Q0[R2,2Jy	P!)zM
Test catching an exception thrown into a
subgenerator and returning a value
c3�d: �]w�R![cROQ2R!h9h3h)rj�inner caught ValueError)r)r
)rr�s��r�inner�TTestPEP380Operation.test_catching_exception_from_subgen_and_returning.<locals>.inner�s9����
8����L���
8����6�7��L�
8�s �0�
�0�	-�-�0�-�0c3�n: �R2FPiw�K
oROQU8Q02Uw�	P!K!3h)N�inner returned �	 to outerr)r�rSrs ��r�outer�TTestPEP380Operation.test_catching_exception_from_subgen_and_returning.<locals>.outers,���� �7�"�"�A��L�L��<�=��G�#�s�
5�3�#5rRrVrWr�)r_r
r]�reprr�r)r)rrXr`rSrr�s&  @@@r�1test_catching_exception_from_subgen_and_returning�ETestPEP380Operation.test_catching_exception_from_subgen_and_returning�s����
	�	�
��m�A�.�.�E��E���A��L�L��a��!��L�L��a�g�g�j�1�2�3����U��)�05�7��U��	%�
�/r"c��``�,nU1QknUU1QkoU2o[U2UO[2UOQ2UO	RQQ,2P![cK#h9h)zW
Test throwing GeneratorExit into a subgenerator that
catches it and returns normally.
c3�: �ROQ2Pw�ROQ2P![cP!h9h3h��Enter f�Exit f�r
r�rs�rr5�STestPEP380Operation.test_throwing_GeneratorExit_into_subgen_that_returns.<locals>.fs7����
����Y�'�����X�&�� �
��
�s$�A�'/�A�	>�>�A�>�Ac3�|: �ROQ2R2FPiw�K
ROQ2P!K3h��Enter gzExit gr�r5rs��rr`�STestPEP380Operation.test_throwing_GeneratorExit_into_subgen_that_returns.<locals>.g!�,�����L�L��#��s�N�N��L�L��"�
�r�*subgenerator failed to raise GeneratorExitrfr`)r]r�r�r-r)rr`r�r5rs&  @@r�4test_throwing_GeneratorExit_into_subgen_that_returns�HTestPEP380Operation.test_throwing_GeneratorExit_into_subgen_that_returnssr���
��	�	#�	D���B���H��H�H�]�#�
�I�I�B�C������� 
�	��	�	��	�s�'A"�"	A0�,A0�/A0c�:``�,nU1QknUU1QkoU2o[U2UO[2UOQ2UORQQ,2P![c.oSOSO]*Q2Po=KIPo=hh9h)zM
Test throwing GeneratorExit into a subgenerator that
catches it and yields.
c3�: �ROQ2Pw�ROQ2P![c
Pw�P!h9h3hr_rbrs�rr5�XTestPEP380Operation.test_throwing_GeneratorExit_into_subgenerator_that_yields.<locals>.f8s7����
����Y�'�����X�&�� �
��
�s)�A�'/�A�	A�A�A�A�Ac3�|: �ROQ2R2FPiw�K
ROQ2P!K3hrerrgs��rr`�XTestPEP380Operation.test_throwing_GeneratorExit_into_subgenerator_that_yields.<locals>.g?rirrjzgenerator ignored GeneratorExitrfr`)r]r�r�r-�RuntimeErrorrr.�rr`r�r0r5rs&   @@r�9test_throwing_GeneratorExit_into_subgenerator_that_yields�MTestPEP380Operation.test_throwing_GeneratorExit_into_subgenerator_that_yields2s����
��	�	#�	D���B���H��H�H�]�#�
�I�I�B�C������� 
�	��	�	K����Q�V�V�A�Y�(I�J�J��	K�s�'A"�"	B�,B�-#B�Bc�z``�,nU1QknUU1QkoU2o[U2UO[2UOQ2UORQQ,2P![cNoSOSO]*Q2SOSO[2Po=KiPo=hh9h)zc
Test throwing GeneratorExit into a subgenerator that
catches it and raises a different exception.
c3�: �ROQ2Pw�ROQ2P![c
[Q2gh9h3h)r`ra�Vorpal bunny encountered)r
r�r)rs�rr5�RTestPEP380Operation.test_throwing_GeneratorExit_into_subgen_that_raises.<locals>.fVs@����
=����Y�'�����X�&�� �
=� �!;�<�<�
=�s�A	�'/�A	�	A�
A�A	c3�|: �ROQ2R2FPiw�K
ROQ2P!K3hrerrgs��rr`�RTestPEP380Operation.test_throwing_GeneratorExit_into_subgen_that_raises.<locals>.g]rirr+rxrfr`)	r]r�r�r-r)rr.r�r�rss&   @@r�3test_throwing_GeneratorExit_into_subgen_that_raises�GTestPEP380Operation.test_throwing_GeneratorExit_into_subgen_that_raisesPs����
��	=�	#�	A���B���H��H�H�]�#�

�I�I�?�@������� 
�	���	@����Q�V�V�A�Y�(B�C��!�!�!�-�-��?�?��	@�s�'A"�"	B:�,B:�-AB5�5B:c�N�QoUO[[U22P!)c3�, �QFPiw�K
P!K3h)Nr�r�r�r"rr`�4TestPEP380Operation.test_yield_from_empty.<locals>.gps����M�M�����)rmr_r])rr`s& r�test_yield_from_empty�)TestPEP380Operation.test_yield_from_emptyos��	����-��q�s�3r"c�$``�U1QkoU1QknU2nUO[R2,QN2U2n[R2,oUORO	]*22J#[
cLh9hSOS,QN2P!)c3�L: �]w�	R2FPiw�K
]w�	P!K3h��r�)�twos�r�one�OTestPEP380Operation.test_delegating_generators_claim_to_be_running.<locals>.onevs �����G��u����G�
�s�$�"�
$c3�f: �]w�	RFPiw�K
]w�	P!K[cKh9h3hr��r))rs�rr��OTestPEP380Operation.test_delegating_generators_claim_to_be_running.<locals>.twozs4�����G�
��
�
��G����
��
�s,�1� �� �1� �	.�.�1�.�1�r�rjr�r�)rr�r]r
r^r_)rr��resrr�s&  @@r�.test_delegating_generators_claim_to_be_running�BTestPEP380Operation.test_delegating_generators_claim_to_be_runningts|���	�	��U������b��<�0��U���B�x�j��	���
�
�2�7�7�2�;�'���	��	������l�+s�#A+�+	A9�5A9�8A9c�```�QQ[2nUU1QkoUU1QknU2n[R2,oUOROR22J#[cP!SOS,QN2g9h)c��\sQsQsQsP!)�\TestPEP380Operation.test_delegating_generators_claim_to_be_running_with_throw.<locals>.MyErr�r�r)r�r"r�MyErrr��r*r"r�c3�: �]w�R2FPiw�K
]w�P!RcK"h9hKRcP!h9h3hr�r�)r�r�s��rr��ZTestPEP380Operation.test_delegating_generators_claim_to_be_running_with_throw.<locals>.one�sQ����
����u���
����	�
��
�����
��
�sL�A�$�A�1�A�3�A�.�.�A�.�A�>�>�A�>�Ac3�: �]w�RFPiw�K
]w�P!RcKh9hK[cK$h9hRcP!h9h3hr�r�)r�rs��rr��ZTestPEP380Operation.test_delegating_generators_claim_to_be_running_with_throw.<locals>.two�sc����
���
��
�
�
�����
��
�����
��
���
��
�sm�A� �/�-�/�A�A�*�*�A�*�A�/�	=�=�A�=�A�A�A�A�
A�Ar�)r+r]r
r�r_r)rr�r�r�rr�s&  @@@r�9test_delegating_generators_claim_to_be_running_with_throw�MTestPEP380Operation.test_delegating_generators_claim_to_be_running_with_throw�sn���	�I�	�		�	��U���B�x�j��	���
�
�2�8�8�E�?�+���	��	����S�,�/��s�#A�	A=�#A=�'A=c�z```�UU1QkQ2nU1QkoU2n[R2RO2P!)c�>:`�\sQsQsnQsQsUU1QksQsUsP!)�[TestPEP380Operation.test_delegating_generators_claim_to_be_running_with_close.<locals>.MyIt�c��U!r�r�r�s&rr��dTestPEP380Operation.test_delegating_generators_claim_to_be_running_with_close.<locals>.MyIt.__iter__�r�r"c��]*!��*r�r�s&rr��dTestPEP380Operation.test_delegating_generators_claim_to_be_running_with_close.<locals>.MyIt.__next__����r"c�v:�RORO2RO[[R2P!r�)�
assertTrue�
gi_runningrmr)r])�self_rrs&��rry�aTestPEP380Operation.test_delegating_generators_claim_to_be_running_with_close.<locals>.MyIt.close�s%�������
�
�.��!�!�*�d�B�7r"r�)	r�r�r�r�r�r�ryr�r�)r�rrs@��r�MyItr��s����
�
�
8�
8r"r�c3�8: �R2FPiw�K
P!K3hr�r�)r�s�rr��ZTestPEP380Operation.test_delegating_generators_claim_to_be_running_with_close.<locals>.one�s�����v���r�)r]ry)rr�r�rsf @@r�9test_delegating_generators_claim_to_be_running_with_close�MTestPEP380Operation.test_delegating_generators_claim_to_be_running_with_close�s)���	8�	8�	�
�U���R��
���
r"c��`�QnU1QkoQoQoUU22FDoUOQU72J	UUU222FD$oSOQU79%cQU72J&	P!)c�f�[O2Tt,tFDp]*MJ
	to!ttohr�)�inspect�stack)r5s r�
call_stack�MTestPEP380Operation.test_delegator_is_visible_to_debugger.<locals>.call_stack�s$��")�-�-�/�2�/�Q�a�D�D�/�2�2��2s�.c3�N: �R2w�	R2w�	R2w�	P!3hr�r�)r�s�r�gen�FTestPEP380Operation.test_delegator_is_visible_to_debugger.<locals>.gen�s�����,���,���,��s�"%c3�, �SFPiw�K
P!K3hr�r��r`s&rr��GTestPEP380Operation.test_delegator_is_visible_to_debugger.<locals>.spam������L�L�r�c3�, �SFPiw�K
P!K3hr�r�r�s&rr��GTestPEP380Operation.test_delegator_is_visible_to_debugger.<locals>.eggs�r�r�r�r�)r�)rr�r�r�r�r�s&    @r�%test_delegator_is_visible_to_debugger�9TestPEP380Operation.test_delegator_is_visible_to_debugger�sl���	3�	�
	�	��#�%�[�E��O�O�F�e�O�,�!��$�s�u�+�&�E��O�O�F�e�O�?�?��%��@�'r"c�v``�QQ2nUU1QkoPn[U22UOR]*2P!)c�.`�\sQsQsnQsQsQsUsP!)�?TestPEP380Operation.test_custom_iterator_return.<locals>.MyIter��c��U!r�r�r�s&rr��HTestPEP380Operation.test_custom_iterator_return.<locals>.MyIter.__iter__�r�r"c��[]*2gr�)r_r�s&rr��HTestPEP380Operation.test_custom_iterator_return.<locals>.MyIter.__next__�s
��#�B�'�'r"r�)r�r�r�r�r�r�r�r�r�s@r�MyIterr��s����
�
(�
(r"r�c3�8: �R2FPiw�K
nP!K3hr�r�)r�r�s��rr��<TestPEP380Operation.test_custom_iterator_return.<locals>.gen�s����#�X�%�%�C�%�r�)r�r)rr�r�r�s& @@r�test_custom_iterator_return�/TestPEP380Operation.test_custom_iterator_return�s2���	(�	(�
	&����S�U������b�!r"c�`�QnU1QkoQo[29^tt^2U2oU2oUOP2UOU2UOU2==[2PPP2P!)%fhP!9h)c3� �Pw�	P!3hr�r�r�r"r�	innermost�DTestPEP380Operation.test_close_with_cleared_frame.<locals>.innermost�s����s�	c3�B: �Pw�	oR2FPiw�K
P!K3hr�r�)�	outer_genr�s �rrS�@TestPEP380Operation.test_close_with_cleared_frame.<locals>.inner�s�����I� �{�"�"�s���c3�6 �Pw�	oSFPiw�K
P!K3hr�r�)�	inner_gens rrX�@TestPEP380Operation.test_close_with_cleared_frame.<locals>.outer�s����I� � � �s�
��)rr^r)rrSrXr�r�r�s&    @r�test_close_with_cleared_frame�1TestPEP380Operation.test_close_with_cleared_frame�sd���&	�	#�	!��\�\���I���I��N�N�4� ��N�N�9�%��N�N�9�%����L��\�\�\�s�AA9�9B
	�B
	c�``�U1QkQ2nU1QkoU2o[U2PnUOQ2UORQ2P!)c�<:`�\sQsQsnQsQsU1QksQsUsP!)�HTestPEP380Operation.test_send_tuple_with_custom_generator.<locals>.MyGenic��U!r�r�r�s&rr��QTestPEP380Operation.test_send_tuple_with_custom_generator.<locals>.MyGen.__iter__r�r"c��]*!r�r�r�s&rr��QTestPEP380Operation.test_send_tuple_with_custom_generator.<locals>.MyGen.__next__r�r"c�:�UnP!r�r�)r�whatr�s&&�rr^�MTestPEP380Operation.test_send_tuple_with_custom_generator.<locals>.MyGen.sends�����r"r�)	r�r�r�r�r�r�r^r�r�)r�r�s@�r�MyGenr�s����
�
�
�
r"r�c3�8: �R2FPiw�K
oP!K3hr�r�)r�r�s �rrX�HTestPEP380Operation.test_send_tuple_with_custom_generator.<locals>.outers���� �7�"�"�A�"�r�)rjr�r��)r]r^r)rrXr`r�r�s&  @@r�%test_send_tuple_with_custom_generator�9TestPEP380Operation.test_send_tuple_with_custom_generatorsA���	�	�	#��G���Q����	���|������L�)r"r�)*r�r�r�r��__doc__r r1rCrNrbror{r�r�r�r�r�r�r�r�r�r�rrrr,rErNr[rkrtr|r�r�r�r�r�r�r�r�r�r�r�s@rrrs�������.�>�:#�J*�X'�R �D'�R&�P�0-�1�f
� �"�,�@�6H�@�&!�F)�V(�T-�^�:�<�<�>4�
,�4$�L� A�*"�%�N*�*r"rc�d`�\sQsQsnQsQsQsQsQsQs	Qs
Q	sQ
sQs
QsQ
sUsP!)�TestInterestingEdgeCasesi!c�$�UO[29^tt^2o[U2PPP2UOWOO
2UOUOO2P!)%fhK\9hr�)rmr_r]�assertIsNone�	exceptionr�r�)r�iterator�caughts&& r�assert_stop_iteration�.TestInterestingEdgeCases.assert_stop_iteration#s^��
�
�
�}�
-�
-����N�.����&�*�*�0�0�1����&�*�*�6�6�7�.�
-�s�A?�?B	�B	c�0�UO[Q2!)z ^generator raised StopIteration$��assertRaisesRegexrrr�s&r�&assert_generator_raised_stop_iteration�?TestInterestingEdgeCases.assert_generator_raised_stop_iteration)s���%�%�l�4W�X�Xr"c�0�UO[Q2!)z!^generator ignored GeneratorExit$r�r�s&r�'assert_generator_ignored_generator_exit�@TestInterestingEdgeCases.assert_generator_ignored_generator_exit,s���%�%�l�4X�Y�Yr"c	�n	````�[2n[2n[2nUUU1QknU1QkoUOQ29^tt^2U2oUO[U2R2UO	2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[
2oUO[29^tt^2oUOU2PPP2UOWOU2UOUOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[2oUO29^tt^2oUOU2PPP2UOWOOU2UOUOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[2oUO[29^tt^2oUOU2PPP2UOWOU2UOUOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[2oUO[29^tt^2oUOU2PPP2UOWOU2UOUOO2UOU2PPP2P!)%fhCK~9h)%fhCK9h)%fhCK�9h)%fhCKk9h)%fhCK9h)%fhCK�9h)%fhCKb9h)%fhK�9h)%fhP!9h)c3�&: �Rw�	Rw�	R!3hr�r���returned�
yielded_first�yielded_seconds���rrS�ATestInterestingEdgeCases.test_close_and_throw_work.<locals>.inner5s������ � ��O�s�c3�4: �R2FPiw�K
!K3hr�r��rSs�rrX�ATestInterestingEdgeCases.test_close_and_throw_work.<locals>.outer:�����$�w�&�&�'�&���
��ry�throw GeneratorExit�throw StopIteration�throw BaseException�throw Exception)�object�subTest�assertIsr]ryr�r�rmr�r�r�r�r_r��
BaseExceptionr+�	rrXr`�thrownr�rSrrrs	&    @@@@r�test_close_and_throw_work�2TestInterestingEdgeCases.test_close_and_throw_work/s7�����
�����8��	�
	(��\�\�'�
"�
"���A��M�M�$�q�'�=�1�
�G�G�I��&�&�q�)�	#��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F��"�"�=�1�1�V������2��M�M�&�*�*�F�3����f�.�.�:�:�;��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F��<�<�>�>�&������?��M�M�&�*�*�6�6��?����f�.�.�:�:�F�F�G��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F��"�"�=�1�1�V������2��M�M�&�*�*�F�3����f�.�.�:�:�;��&�&�q�)�1��\�\�+�
,�
,���A��M�M�$�q�'�=�1��[�F��"�"�9�-�-�������.��M�M�&�*�*�F�3����f�.�.�:�:�;��&�&�q�)�-�
,�K#�
"�
"��2�1�1��	1�
0�
0��?�>�>��1�
0�
0��2�1�1��	1�
0�
0��.�-��	-�
,�
,�s��AP�0A
P,�:P	�AP,�AQ�Q	�A.Q�-A
Q<�7Q(	�	AQ<�A
R#�R	� AR#�P	�
P	�P)
�!P)
�#	P,�,P=	�5P=	�Q
�	Q
�	Q�Q%	�Q%	�(Q9
�1Q9
�3	Q<�<R
	�R
	�R 
�R 
�R#�#R4	�,R4	c	��
`````	�[2n[2n	[2nUUUU	1QknU1QkoUOQ29^tt^2U2oUO[U2R2[	2nUO2UO
U2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[	2oUO[29^tt^2oUOU2PPP2UOWOU2UOUOO2UO
U2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[2oUO[29^tt^2oUOU2PPP2UOWOR2UOUOOU2UOUOOO2UO
U2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[2oUO[29^tt^2oUOU2PPP2UOWOR2UOUOOU2UOUOOO2UO
U2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[2oUO[29^tt^2oUOU2PPP2UOWOR2UOUOOU2UOUOOO2UO
U2PPP2P!)%fhCK'9h)%fhCK�9h)%fhCKn9h)%fhCK�9h)%fhCK�9h)%fhCK9h)%fhCK�9h)%fhCK)9h)%fhP!9h)c3�6: �Rw�Rw�RRgRg9h3hr�r���raisedrrrs����rrS�QTestInterestingEdgeCases.test_close_and_throw_raise_generator_exit.<locals>.innerr�$����
�#�#�$�$�����f��������c3�4: �R2FPiw�K
!K3hr�r�rs�rrX�QTestInterestingEdgeCases.test_close_and_throw_raise_generator_exit.<locals>.outerzrr	ryr
rrr
)rrrr]r�ryr�rmr�r�r�r�r_rr+)
rrXr`rr�rSrrrrs
&    @@@@@r�)test_close_and_throw_raise_generator_exit�BTestInterestingEdgeCases.test_close_and_throw_raise_generator_exitls������
�����8��	�	�	(��\�\�'�
"�
"���A��M�M�$�q�'�=�1�"�_�F�
�G�G�I��&�&�q�)�#��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F�"�_�F��"�"�=�1�1�V������2�

�M�M�&�*�*�F�3����f�.�.�:�:�;��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F�"�_�F��"�"�=�1�1�V������2��M�M�&�*�*�F�3��M�M�&�*�*�6�6��?����f�.�.�:�:�F�F�G��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F�"�_�F��"�"�=�1�1�V������2��M�M�&�*�*�F�3��M�M�&�*�*�6�6��?����f�.�.�:�:�F�F�G��&�&�q�)�1��\�\�+�
,�
,���A��M�M�$�q�'�=�1�"�_�F��[�F��"�"�=�1�1�V������2��M�M�&�*�*�F�3��M�M�&�*�*�6�6��?����f�.�.�:�:�F�F�G��&�&�q�)�-�
,�_#�
"�
"��2�1�1��1�
0�
0��&2�1�1��1�
0�
0��"2�1�1��1�
0�
0��"2�1�1��-�
,�
,�s��
AR9�<AS!�S
	�"AS!�AT	�1S5	�B
T	�.AT1�T	�B
T1�?AU�U	�%B
U�9S
	�S
	�
S
�S
�	S!�!S2	�*S2	�5T
�>T
�	T	�	T	�T	�T.
�&T.
�(	T1�1U	�:U	�U
�U
�	U�U*	�"U*	c	�
`````	�[2n[2n	[2nUUUU	1QknU1QkoUOQ29^tt^2U2oUO[U2R2[	2nUO29^tt^2oUO
2PPP2UOWOOR2UOUOOO[2UOUOOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[2oUO29^tt^2oUOU2PPP2UOWOOR2UOUOOO[2UOUOOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[	2oUO29^tt^2oUOU2PPP2UOWOOR2UOUOOOU2UOUOOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[2oUO29^tt^2oUOU2PPP2UOWOOR2UOUOOOU2UOUOOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[2oUO29^tt^2oUOU2PPP2UOWOOR2UOUOOOU2UOUOOOO2UOU2PPP2P!)%fhCKk9h)%fhCK�9h)%fhCKe9h)%fhCK�9h)%fhCK_9h)%fhCK�9h)%fhCK]9h)%fhCK�9h)%fhCK[9h)%fhP!9h)c3�6: �Rw�Rw�RRgRg9h3hr�r�rs����rrS�QTestInterestingEdgeCases.test_close_and_throw_raise_stop_iteration.<locals>.inner�rrc3�4: �R2FPiw�K
!K3hr�r�rs�rrX�QTestInterestingEdgeCases.test_close_and_throw_raise_stop_iteration.<locals>.outer�rr	ryr
rrr
)rrrr]r_r�ryr�r�r�r�r�r�r�rr+�
rrXr`r�rrSrrrrs
&    @@@@@r�)test_close_and_throw_raise_stop_iteration�BTestInterestingEdgeCases.test_close_and_throw_raise_stop_iteration�s������
�����8��	�	�	(��\�\�'�
"�
"���A��M�M�$�q�'�=�1�"�_�F��<�<�>�>�&����	�?��M�M�&�*�*�6�6��?��!�!�&�"2�"2�">�">�"J�"J�M�Z����f�.�.�:�:�F�F�R�R�S��&�&�q�)�#��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F�"�_�F��<�<�>�>�&������?��M�M�&�*�*�6�6��?�
�!�!�&�"2�"2�">�">�"J�"J�M�Z����f�.�.�:�:�F�F�R�R�S��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F�"�_�F��<�<�>�>�&������?��M�M�&�*�*�6�6��?��M�M�&�*�*�6�6�B�B�F�K����f�.�.�:�:�F�F�R�R�S��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F�"�_�F��<�<�>�>�&������?��M�M�&�*�*�6�6��?��M�M�&�*�*�6�6�B�B�F�K����f�.�.�:�:�F�F�R�R�S��&�&�q�)�1��\�\�+�
,�
,���A��M�M�$�q�'�=�1�"�_�F��[�F��<�<�>�>�&������?��M�M�&�*�*�6�6��?��M�M�&�*�*�6�6�B�B�F�K����f�.�.�:�:�F�F�R�R�S��&�&�q�)�-�
,�a?�>�>��#�
"�
"��$?�>�>��
1�
0�
0��*?�>�>��
1�
0�
0��&?�>�>��
1�
0�
0��&?�>�>��
-�
,�
,�s��
AX�X	�#B,X�0AY�?X-	�B,Y�AY)�-Y	�?B(Y)�AZ�Y=	�)B(Z�2AZ9�Z%	�B(Z9�X
�X
�	X�X*	�"X*	�-X>
�6X>
�8	Y�Y	�
Y	�Y&
�Y&
� 	Y)�)Y:	�2Y:	�=Z
�Z
�	Z�Z"	�Z"	�%Z6
�.Z6
�0	Z9�9[
	�[
	c	�`````	�[2n[2n	[2nUUUU	1QknU1QkoUOQ29^tt^2U2oUO[U2R2[	2nUO[29^tt^2oUO
2PPP2UOWOR2UOUOO[2UOUOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[2oUO[29^tt^2oUOU2PPP2UOWOR2UOUOO[2UOUOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[2oUO[29^tt^2oUOU2PPP2UOWOR2UOUOOU2UOUOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[	2oUO[29^tt^2oUOU2PPP2UOWOR2UOUOOU2UOUOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[2oUO[29^tt^2oUOU2PPP2UOWOR2UOUOOU2UOUOOO2UOU2PPP2P!)%fhCK�9h)%fhCKo9h)%fhCK�9h)%fhCK�9h)%fhCK9h)%fhCK�9h)%fhCK&9h)%fhCK�9h)%fhCK=9h)%fhP!9h)c3�6: �Rw�Rw�RRgRg9h3hr�r�rs����rrS�QTestInterestingEdgeCases.test_close_and_throw_raise_base_exception.<locals>.innerrrc3�4: �R2FPiw�K
!K3hr�r�rs�rrX�QTestInterestingEdgeCases.test_close_and_throw_raise_base_exception.<locals>.outerrr	ryr
rrr
)rrrr]rrmryr�r�r�r�r�r�r�r_r+r&s
&    @@@@@r�)test_close_and_throw_raise_base_exception�BTestInterestingEdgeCases.test_close_and_throw_raise_base_exceptionsP�����
�����8��	�	�	(��\�\�'�
"�
"���A��M�M�$�q�'�=�1�"�_�F��"�"�=�1�1�V����	�2��M�M�&�*�*�F�3��!�!�&�"2�"2�">�">�
�N����f�.�.�:�:�F�F�G��&�&�q�)�#��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F�"�_�F��"�"�=�1�1�V������2��M�M�&�*�*�F�3�
�!�!�&�"2�"2�">�">�
�N����f�.�.�:�:�F�F�G��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F�"�_�F��"�"�=�1�1�V������2��M�M�&�*�*�F�3��M�M�&�*�*�6�6��?����f�.�.�:�:�F�F�G��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F�"�_�F��"�"�=�1�1�V������2��M�M�&�*�*�F�3��M�M�&�*�*�6�6��?����f�.�.�:�:�F�F�G��&�&�q�)�1��\�\�+�
,�
,���A��M�M�$�q�'�=�1�"�_�F��[�F��"�"�=�1�1�V������2��M�M�&�*�*�F�3��M�M�&�*�*�6�6��?����f�.�.�:�:�F�F�G��&�&�q�)�-�
,�[2�1�1��	#�
"�
"�� 2�1�1��1�
0�
0��&2�1�1��1�
0�
0��"2�1�1��1�
0�
0��"2�1�1��-�
,�
,���
A
V�V	�(BV�AW�+V0	�=BW�,AW,�W	�B
W,�=AX�X	�#B
X�AX<�"X(	�4B
X<�V
�V
�	V�V-	�%V-	�0W
�9W
�;	W�W	�
W	�W)
�!W)
�#	W,�,W=	�5W=	�X
�	X
�	X�X%	�X%	�(X9
�1X9
�3	X<�<Y
	�Y
	c	�`````	�[2n[2n	[2nUUUU	1QknU1QkoUOQ29^tt^2U2oUO[U2R2[	2nUO[29^tt^2oUO
2PPP2UOWOR2UOUOO[2UOUOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[2oUO[29^tt^2oUOU2PPP2UOWOR2UOUOO[2UOUOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[2oUO[29^tt^2oUOU2PPP2UOWOR2UOUOOU2UOUOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[2oUO[29^tt^2oUOU2PPP2UOWOR2UOUOOU2UOUOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[	2n[	2oUO[29^tt^2oUOU2PPP2UOWOR2UOUOOU2UOUOOO2UOU2PPP2P!)%fhCK�9h)%fhCKo9h)%fhCK�9h)%fhCK�9h)%fhCK9h)%fhCK�9h)%fhCK&9h)%fhCK�9h)%fhCK=9h)%fhP!9h)c3�6: �Rw�Rw�RRgRg9h3hr�r�rs����rrS�LTestInterestingEdgeCases.test_close_and_throw_raise_exception.<locals>.inner_rrc3�4: �R2FPiw�K
!K3hr�r�rs�rrX�LTestInterestingEdgeCases.test_close_and_throw_raise_exception.<locals>.outergrr	ryr
rrr
)rrrr]r+rmryr�r�r�r�r�r�r�r_rr&s
&    @@@@@r�$test_close_and_throw_raise_exception�=TestInterestingEdgeCases.test_close_and_throw_raise_exceptionYsP�����
�����8��	�	�	(��\�\�'�
"�
"���A��M�M�$�q�'�=�1��[�F��"�"�9�-�-�����	�.��M�M�&�*�*�F�3��!�!�&�"2�"2�">�">�
�N����f�.�.�:�:�F�F�G��&�&�q�)�#��\�\�/�
0�
0���A��M�M�$�q�'�=�1��[�F�"�_�F��"�"�9�-�-�������.��M�M�&�*�*�F�3�
�!�!�&�"2�"2�">�">�
�N����f�.�.�:�:�F�F�G��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1��[�F�"�_�F��"�"�9�-�-�������.��M�M�&�*�*�F�3��M�M�&�*�*�6�6��?����f�.�.�:�:�F�F�G��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1��[�F�"�_�F��"�"�9�-�-�������.��M�M�&�*�*�F�3��M�M�&�*�*�6�6��?����f�.�.�:�:�F�F�G��&�&�q�)�1��\�\�+�
,�
,���A��M�M�$�q�'�=�1��[�F��[�F��"�"�9�-�-�������.��M�M�&�*�*�F�3��M�M�&�*�*�6�6��?����f�.�.�:�:�F�F�G��&�&�q�)�-�
,�[.�-�-��	#�
"�
"�� .�-�-��1�
0�
0��&.�-�-��1�
0�
0��".�-�-��1�
0�
0��".�-�-��-�
,�
,�r0c	�
````�[2n[2n[2nUUU1QknU1QkoUOQ29^tt^2U2oUO[U2R2UO	29^tt^2oUO2PPP2UO
WOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[2oUO	29^tt^2oUOU2PPP2UO
WOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[2oUOUOU2R2UO29^tt^2o[U2PPP2UOWOOU2UO
UOOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[2oUOUOU2R2UO![29^tt^2o[U2PPP2UOWOU2UO
UOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[#2oUOUOU2R2UO!["29^tt^2o[U2PPP2UOWOU2UO
UOO2UOU2PPP2P!)%fhCK�9h)%fhCK�9h)%fhCK^9h)%fhCK49h)%fhCK�9h)%fhCK[9h)%fhCK�9h)%fhCK�9h)%fhCK
9h)%fhP!9h)c3�<: �Rw�Rw�	R!Rw�h9h3hr�r�rs���rrS�BTestInterestingEdgeCases.test_close_and_throw_yield.<locals>.inner�s%����
%�#�#�$�$��O��%�$�s�����c3�4: �R2FPiw�K
!K3hr�r�rs�rrX�BTestInterestingEdgeCases.test_close_and_throw_yield.<locals>.outer�rr	ryr
rrr
)rrrr]r�ryr�r�r�r�r�r�r_rr�rrmr+)	rrXr`r�rrSrrrs	&    @@@@r�test_close_and_throw_yield�3TestInterestingEdgeCases.test_close_and_throw_yield�s������
�����8��	�	(��\�\�'�
"�
"���A��M�M�$�q�'�=�1��=�=�?�?�6����	�@����f�.�.�:�:�;��&�&�q�)�#��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F��=�=�?�?�6������@����f�.�.�:�:�;��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F����Q�W�W�V�_�n�=��<�<�>�>�&��Q��?��M�M�&�*�*�6�6��?����f�.�.�:�:�F�F�G��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F����Q�W�W�V�_�n�=��"�"�=�1�1�V��Q��2��M�M�&�*�*�F�3����f�.�.�:�:�;��&�&�q�)�1��\�\�+�
,�
,���A��M�M�$�q�'�=�1��[�F����Q�W�W�V�_�n�=��"�"�9�-�-���Q��.��M�M�&�*�*�F�3����f�.�.�:�:�;��&�&�q�)�-�
,�O@�?�?��#�
"�
"�� @�?�?��
1�
0�
0��"?�>�>��
1�
0�
0��"2�1�1��1�
0�
0�� .�-�-��-�
,�
,�s��;R�Q:	�>R�6AR6�;R"	�
>R6�,A&S�S
	�A.S�-A+T�S2	�$AT�A+T.�
T	�AT.�:R
�R
�	R�R	�R	�"R3
�+R3
�-	R6�6S	�?S	�
S
�S
�	S�S/	�'S/	�2T
�;T
�=	T�T	�T	�T+
�#T+
�%	T.�.T?	�7T?	c	�	````�[2n[2n[2nUUU1QknU1QkoUOQ29^tt^2U2oUO[U2R2UO	2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[
2oUO[29^tt^2oUOU2PPP2UOWOU2UOUOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[2oUO[29^tt^2oUOU2PPP2UOWOOR2UOUOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[2oUO[29^tt^2oUOU2PPP2UOWOOR2UOUOO2UOU2PPP2UOQ29^tt^2U2oUO[U2R2[2oUO[29^tt^2oUOU2PPP2UOWOOR2UOUOO2UOU2PPP2P!)%fhCK�9h)%fhCK$9h)%fhCK�9h)%fhCKu9h)%fhCK%9h)%fhCK�9h)%fhCKl9h)%fhCK9h)%fhP!9h)c3�8: �Rw�Rw�R!R!9h3hr�r�rs���rrS�CTestInterestingEdgeCases.test_close_and_throw_return.<locals>.inner�s,����
�#�#�$�$��O��
���O�s��
���c3�4: �R2FPiw�K
!K3hr�r�rs�rrX�CTestInterestingEdgeCases.test_close_and_throw_return.<locals>.outer�rr	ryr
rrr
)rrrr]ryr�r�rmr�r�r�r�r_r�rr+rs	&    @@@@r�test_close_and_throw_return�4TestInterestingEdgeCases.test_close_and_throw_return�sF�����
�����8��	�	(��\�\�'�
"�
"���A��M�M�$�q�'�=�1�
�G�G�I��&�&�q�)�
#��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F��"�"�=�1�1�V������2��M�M�&�*�*�F�3����f�.�.�:�:�;��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F��"�"�=�1�1�V������2��M�M�&�*�*�0�0�(�;����f�.�.�:�:�;��&�&�q�)�1��\�\�/�
0�
0���A��M�M�$�q�'�=�1�"�_�F��"�"�=�1�1�V������2��M�M�&�*�*�0�0�(�;����f�.�.�:�:�;��&�&�q�)�1��\�\�+�
,�
,���A��M�M�$�q�'�=�1��[�F��"�"�=�1�1�V������2��M�M�&�*�*�0�0�(�;����f�.�.�:�:�;��&�&�q�)�-�
,�Q#�
"�
"��2�1�1��
1�
0�
0�� 2�1�1��	1�
0�
0��2�1�1��	1�
0�
0��2�1�1��	-�
,�
,�s��AP�0A
P;�:P'	�AP;�A
Q#�Q	�#A$Q#�(A
R�2Q7	�A$R�	A
R3�R	�%A$R3�P$	�P$	�'P8
�0P8
�2	P;�;Q	�Q	�Q 
�Q 
�	Q#�#Q4	�,Q4	�7R
�R
�	R�R	�R	�R0
�(R0
�*	R3�3S	�<S	c��`�QQ2nU1QkoUO[Q29^tt^2[[U222PPP2P!)%fhP!9h)c�(`�\sQsQsnQsQsUsP!)�;TestInterestingEdgeCases.test_throws_in_iter.<locals>.Sillyi4c��[Q2g)�&nobody expects the spanish inquisition)rrr�s&rr��DTestInterestingEdgeCases.test_throws_in_iter.<locals>.Silly.__iter__5s��"�#K�L�Lr"r�)r�r�r�r�r�r�r�r�s@r�SillyrH4s����
M�
Mr"rLc3�8: �R2FPiw�K
P!K3hr�r�)rLs�r�my_generator�BTestInterestingEdgeCases.test_throws_in_iter.<locals>.my_generator8s�����w���r�rJ)r�rrr]�iter)rrNrLs& @r�test_throws_in_iter�,TestInterestingEdgeCases.test_throws_in_iter1sI���	M�	M�	��
#�
#�L�2Z�
[�
[���l�n�%�&�\�
[�
[�
[�s�A�A&	�A&	r�)r�r�r�r�r�r�r�rrr'r.r6r=rDrQr�r�r�s@rr�r�!sP����8�Y�Z�;*�zJ*�XQ*�fL*�\L*�\E*�NA*�F'�'r"r��__main__)r��unittestr��test.supportrrr�testr�TestCaserr�r��mainr�r"r�<module>rYs]�����@�@��O*�(�+�+�O*�b ['�x�0�0�['�|�z���M�M�O�r"

Youez - 2016 - github.com/yon3zu
LinuXploit