%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� � @ sR d Z ddlZddlmZ ddlmZ ddlZG dd� dej�Ze dkrNe�
� dS )z/test script for a few new invalid token catches� N)�support)�
script_helperc @ sD e Zd Zdd� Zdd� Zdd� Zdd� Ze�e j
d �d
d� �ZdS )
�EOFTestCasec
C sP d}zt d� W n4 tyD } z| �t|�|� W Y d }~nd }~0 0 tj�d S )Nz4EOL while scanning string literal (<string>, line 1)z'this is a test ��eval�SyntaxError�assertEqual�strr �
TestFailed��self�expect�msg� r �,/vddos/python/lib/python3.9/test/test_eof.py� test_EOFC s &zEOFTestCase.test_EOFCc
C sP d}zt d� W n4 tyD } z| �t|�|� W Y d }~nd }~0 0 tj�d S )NzBEOF while scanning triple-quoted string literal (<string>, line 1)z'''this is a testr r r r r � test_EOFS s &zEOFTestCase.test_EOFSc
C sX d}zt ddddd� W n4 tyL } z| �t|�|� W Y d }~nd }~0 0 tj�d S )N�/unexpected EOF while parsing (<string>, line 1)z"\xhh" \z<string>�execT)�dont_inherit)�compiler r r r r
r r r r �test_eof_with_line_continuation s &z+EOFTestCase.test_eof_with_line_continuationc C s� d}| � t��}td� W d � n1 s,0 Y | �t|j�|� | � t��}td� W d � n1 sp0 Y | �t|j�|� dS )z=A continuation at the end of input must be an error; bpo2180.r zx = 5\N�\)ZassertRaisesr r r r � exception)r r
�excinfor r r �test_line_continuation_EOF&