+
    Bi                     x    ^ RI Ht ^ RIt ! R R]P                  4      t]R8X  d   ]P                  ! 4        R# R# )    )generator_stopNc                   ,   a  ] tR t^t o R tR tRtV tR# )
TestPEP479c                   a R  oV3R lpV P                  \        R4      ;_uu_ 4        \        V! 4       4       RRR4       R#   + '       g   i     R# ; i)c                      \         hNStopIteration     //usr/lib/python3.14/test/test_generator_stop.pyf1TestPEP479.test_stopiteration_wrapping.<locals>.f       r   c               3   "   <"   S ! 4       x  R # 5ir   r   r   s   r   g1TestPEP479.test_stopiteration_wrapping.<locals>.g
        #I   zgenerator raised StopIterationN)assertRaisesRegexRuntimeErrornext)selfr   r   s   & @r   test_stopiteration_wrapping&TestPEP479.test_stopiteration_wrapping   sI    	 	##L$DF FIF F F Fs   AA	c                j  a R  oV3R lp \        V! 4       4       V P                  R4       R#   \         dy   pT P                  \	        TP
                  4      \        4       T P                  \	        TP                  4      \        4       T P                  TP                  4        Rp?R# Rp?ii ; i)c                      \         hr   r	   r   r   r   r   9TestPEP479.test_stopiteration_wrapping_context.<locals>.f   r   r   c               3   "   <"   S ! 4       x  R # 5ir   r   r   s   r   r   9TestPEP479.test_stopiteration_wrapping_context.<locals>.g   r   r   zE__cause__, __context__, or __suppress_context__ were not properly setN)
r   failr   assertIstype	__cause__r
   __context__
assertTrue__suppress_context__)r   r   excr   s   &  @r   #test_stopiteration_wrapping_context.TestPEP479.test_stopiteration_wrapping_context   s    	 		/I II . /  	6MM$s}}-}=MM$s/?OOC4455	6s   / B2A-B--B2r   N)__name__
__module____qualname____firstlineno__r   r*   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s     / /r   r   __main__)
__future__r   unittestTestCaser   r,   mainr   r   r   <module>r8      s5    % /"" /6 zMMO r   