python (3.11.7)

(root)/
lib/
python3.11/
test/
__pycache__/
test_threadedtempfile.cpython-311.opt-2.pyc

e	ddlZddlmZddlZddlZddlZddlmZejddZ	dZ
ejZGdd	ej
ZGd
dejZedkrejdSdS)
N)threading_helper)	print_excT)module2ceZdZdZdZdZdS)TempFileGreedyrc`tj|_tttD]g}	tjd}|	|xj
dz
c_
<#|xjdz
c_t|jYexYwdS)Nzw+b)file)
ioStringIOerrors
startEventwaitrangeFILES_PER_THREADtempfile
TemporaryFilecloseok_counterror_countr)selfifs   N/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_threadedtempfile.pyrunzTempFileGreedy.run%skmm'((	#	#A
#*511			


"


	
,  A%  t{++++++
	#	#s	(B'B+N)__name__
__module____qualname__rrrrr	r	!s-KH#####r"r	ceZdZdZdS)ThreadedTempFileTestcdttD}tj|tj5	dddn#1swxYwYt
d|D}d|D}dt||d|fz}|	|g||	|ttzdS)Nc*g|]}tSr!)r	).0rs  r
<listcomp>z2ThreadedTempFileTest.test_main.<locals>.<listcomp>5s@@@>##@@@r"c3$K|]}|jVdS)N)rr'ts  r	<genexpr>z1ThreadedTempFileTest.test_main.<locals>.<genexpr>8s$--------r"cg|]D}|j	t|jt|jzESr!)rstrnamergetvaluer*s  rr(z2ThreadedTempFileTest.test_main.<locals>.<listcomp>9sQ555am5#af++AH$5$5$7$7 8 88555r"zErrors: errors %d ok %d
%s
)rNUM_THREADSr
start_threadsrsetsumlenjoinassertEqualr)rthreadsokrmsgs     r	test_mainzThreadedTempFileTest.test_main4s(@@U;-?-?@@@

+GZ^
D
D																	
--W---
-
-55"555,s6{{BIIf/S)))[+;;<<<<<sAAAN)rrr r<r!r"rr$r$3s#=====r"r$__main__)rtest.supportrunittestr
	threading	tracebackrrequires_working_threadingr2rEventrThreadr	TestCaser$rmainr!r"r<module>rGs

))))))				++48888Y_


#####Y%###$=====8,===zHMOOOOOr"