python (3.11.7)

(root)/
lib/
python3.11/
test/
__pycache__/
test_eof.cpython-311.opt-1.pyc

edZddlZddlmZddlmZddlmZddlZGddejZ	e
dkrejdSdS)	z/test script for a few new invalid token catchesN)support)	os_helper)
script_helpercleZdZdZdZdZdZdZej	e
jddZdS)	EOFTestCasecd}dD]u}	t|dtj#t$rH}|t||||jdYd}~nd}~wwxYwdS)NzCunterminated string literal (detected at line 1) (<string>, line 1))'"zthis is a test                evalr
TestFailedSyntaxErrorassertEqualstroffset)selfexpectquotemsgs    A/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_eof.pytest_EOF_single_quotez!EOFTestCase.test_EOF_single_quote
sV 	)	)E
)%((	
0
0
0  S6222  Q////////
0		)	)s&
A8>A33A8cd}	tdtj#t$rI}|t||||jdYd}~dSd}~wwxYw)NzQunterminated triple-quoted string literal (detected at line 1) (<string>, line 1)z'''this is a testrrrrrs   r	test_EOFSzEOFTestCase.test_EOFSse	%()))
$$		,	,	,SXXv...SZ+++++++++	,s
A2>A--A2cd}tj5}tj|dd}tj|\}}}dddn#1swxYwY|d|dS)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 s&


!
!	JX%1(EC^__I(>yIILBS	J	J	J	J	J	J	J	J	J	J	J	J	J	J	J	


WY\]]]]]s/AAAcd}	tddddtj#t$r.}|t||Yd}~dSd}~wwxYw)N/unexpected EOF while parsing (<string>, line 1)z"\xhh" \z<string>execT)dont_inherit)compilerrrrrrs   rtest_eof_with_line_continuationz+EOFTestCase.test_eof_with_line_continuation's}B	%L:vDIIII$$	/	/	/SXXv.........	/s#
A#AAcd}|t5}tddddn#1swxYwY|t	|j||t5}tddddn#1swxYwY|t	|j|dS)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_EOF0s1B


{
+
+	wOOO															W.//888


{
+
+	wJJJ															W.//88888s9==B""B&)B&zsys.executable requiredctj5}tj|dd}tj|\}}}|d||d||d|tj|dd}tj|\}}}|d||d||d|ddddS#1swxYwYdS)	z9Ensure tok_nextc() does not add too many ending newlines.rr/sunexpected EOF while parsingsline 1\zy = 6\sy = 6\Nr)rrr#r$r%r&s      r,test_line_continuation_EOF_from_file_bpo2180z8EOFTestCase.test_line_continuation_EOF_from_file_bpo2180:sB

!
!	+X%1(E4HHI(>yIILBSMM93???MM)S)))MM%%%%%1(E9MMI(>yIILBSMM93???MM)S)))MM*c***	+	+	+	+	+	+	+	+	+	+	+	+	+	+	+	+	+	+sC!DD	DN)
__name__
__module____qualname__rrr'r-r3unittestskipIfsys
executabler6rrr	s
)
)
)%%%^^^%%%999X_')BCC
+
+DC
+
+
+r?r__main__)__doc__r<testrtest.supportrrr:TestCaserr7mainr>r?r<module>rFs55



""""""&&&&&&?+?+?+?+?+(#?+?+?+BzHMOOOOOr?