%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
a
�_g� � @ s: d dl mZ d dlZG dd� dej�Zedkr6e�� dS )� )�generator_stopNc @ s e Zd Zdd� Zdd� ZdS )�
TestPEP479c sN dd� � � fdd�}| � td�� t|� � W d � n1 s@0 Y d S )Nc S s t �d S �N��
StopIteration� r r �7/vddos/python/lib/python3.9/test/test_generator_stop.py�f s z1TestPEP479.test_stopiteration_wrapping.<locals>.fc 3 s � � V d S r r r �r r r �g
s z1TestPEP479.test_stopiteration_wrapping.<locals>.gzgenerator raised StopIteration)ZassertRaisesRegex�RuntimeError�next)�selfr r r
r �test_stopiteration_wrapping s �z&TestPEP479.test_stopiteration_wrappingc
s� dd� � � fdd�}zt |� � W nT tyv } z<| �t|j�t� | �t|j�t� | �|j� W Y d }~nd }~0 0 | � d� d S )Nc S s t �d S r r r r r r r s z9TestPEP479.test_stopiteration_wrapping_context.<locals>.fc 3 s � � V d S r r r r
r r r s z9TestPEP479.test_stopiteration_wrapping_context.<locals>.gzE__cause__, __context__, or __suppress_context__ were not properly set)
r
r ZassertIs�type� __cause__r �__context__Z
assertTrue�__suppress_context__Zfail)r r �excr r
r �#test_stopiteration_wrapping_context s "z.TestPEP479.test_stopiteration_wrapping_contextN)�__name__�
__module__�__qualname__r r r r r r r s r �__main__)Z
__future__r ZunittestZTestCaser r �mainr r r r �<module> s