python (3.12.0)

(root)/
lib/
python3.12/
test/
__pycache__/
test_eof.cpython-312.pyc

͑ejdZddlZddlmZddlmZddlmZddlmZddlZGddejZ
ed	k(rejyy)
z/test script for a few new invalid token catchesN)support)	os_helper)
script_helper)warnings_helperceZdZdZdZdZejedZ	dZ
eje
jddZy	)
EOFTestCasecd}dD] }	t|dtjy#t$rA}|j	t|||j	|jdYd}~id}~wwxYw)NzCunterminated string literal (detected at line 1) (<string>, line 1))'"zthis is a test                evalr
TestFailedSyntaxErrorassertEqualstroffset)selfexpectquotemsgs    A/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/test_eof.pytest_EOF_single_quotez!EOFTestCase.test_EOF_single_quotes|V 	)E
)%!(((	)
0  S62  Q//
0s)	A37A..A3cd}	tdtj#t$rA}|j	t|||j	|jdYd}~yd}~wwxYw)NzQunterminated triple-quoted string literal (detected at line 1) (<string>, line 1)z'''this is a testrr
rrrs   r	test_EOFSzEOFTestCase.test_EOFSs`e	%()
$$$		,SXv.SZZ++	,s	A)7A$$A)cd}tj5}tj|dd}tj|\}}}ddd|jdy#1swYxYw)Nz(<string>, line 1)fooz'''this is 
a 
tests>unterminated triple-quoted string literal (detected at line 3)rtemp_dirrmake_scriptassert_python_failureassertIn)rrr 	file_namercouterrs       rtest_EOFS_with_filezEOFTestCase.test_EOFS_with_file!sk&



!	JX%11(EC^_I(>>yILBS	J	


WY\]	J	Js1A##A,)categorycd}	tdddtj#t$r%}|j	t||Yd}~yd}~wwxYw)N/unexpected EOF while parsing (<string>, line 1)z"\Xhh" \z<string>exec)compilerrrrrrs   rtest_eof_with_line_continuationz+EOFTestCase.test_eof_with_line_continuation(sOB	%L*f5$$$	/SXv..	/s
!	AA

Acpd}|jt5}tdddd|jt	j
||jt5}tdddd|jt	|j
|y#1swY}xYw#1swY;xYw)z=A continuation at the end of input must be an error; bpo2180.r+zx = 5\N\)assertRaisesrr,rr	exception)rrexcinfos   rtest_line_continuation_EOFz&EOFTestCase.test_line_continuation_EOF2sB


{
+	wO	W../8


{
+	wJ	W../8				sB &B, B),B5zsys.executable requiredctj5}tj|dd}tj|\}}}|jd||jd||jd|tj|dd}tj|\}}}|jd||jd||jd|dddy#1swYyxYw)	z9Ensure tok_nextc() does not add too many ending newlines.rr0sunexpected EOF while parsingsline 1\zy = 6\sy = 6\Nr)rr r$r%r&r's      r,test_line_continuation_EOF_from_file_bpo2180z8EOFTestCase.test_line_continuation_EOF_from_file_bpo2180<s


!	+X%11(E4HI(>>yILBSMM93?MM)S)MM%%%11(E9MI(>>yILBSMM93?MM)S)MM*c*	+	+	+sC
C++C4N)__name__
__module____qualname__rrr(rignore_warnings
SyntaxWarningr.r4unittestskipIfsys
executabler7rrr
sb
)%^%_$$m<%=%9X__')BC
+D
+rBr__main__)
__doc__r?testrtest.supportrrrr=TestCaserr8mainrArBr<module>rIsI5
"&(@+(##@+DzHMMOrB