| 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 : |
R
>lqj�� c �� � Q s ] PHs] PHs] QHGsGsGs ] QHGs Q Q\O 2 s
Q Q\O 2 s\Q6X c \O 2 P! 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 � ` � \ sQ s]s n QsQ sQ sQ sQ sQ s Q s
Q sQ sQ
s
Q sQ sQ
sQ sQ sQ sQ sQ sQ sQ sQ sQ sQ sQ sQ sQ sQ sQ sQ s Q s!Q s"Q s#Q! s$Q" s%Q# s&Q$ s'Q%s(U s)P! )&�TestPEP380Operationz
Test semantics.
c � ``� , nUU1Q koU1Q knU 2 F D oRO QU8 02 J U O R, QN2 P! )z8
Test delegation of initial next() call to subgenerator
c 3 �| : � RO Q 2 R 2 F Pi w� K
RO Q2 P! 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>.g1 s, �� � ��L�L��'��t�O�O��L�L��(�
�� �<�:�<c 3 �` : � R O Q 2 ]*w � R O Q2 P! 3h)�Starting g2�Finishing g2r �r s �r r �OTestPEP380Operation.test_delegation_of_initial_next_to_subgenerator.<locals>.g2 s# �� � ��L�L��'��H��L�L��(�s �+.�Yielded )r
r z
Yielded 42r r �r
�assertEqual��selfr �xr r s & @@r �/test_delegation_of_initial_next_to_subgenerator�CTestPEP380Operation.test_delegation_of_initial_next_to_subgenerator sF �� � �� )� )� ��A��L�L��,�-� �����
� � c �4 ``� , nUU1Q koU1Q kn U 2 F D oRO QU8 02 J U O Q2 U O R, QN2 P! [ c. oS O SO ] * Q2 Po=KIPo=hh 9 h)z/
Test raising exception in initial next() call
c 3 � : � RO Q 2 R 2 F Pi w� K
RO Q2 P! K RO Q2 h 9 h3hr r r s ��r r �KTestPEP380Operation.test_raising_exception_in_initial_next_call.<locals>.g11 s>