python (3.12.0)

(root)/
lib/
python3.12/
test/
__pycache__/
test_threadedtempfile.cpython-312.opt-2.pyc

Αe	ddlZddlmZddlZddlZddlZddlmZejddZ	dZ
ejZGdd	ejZGd
dejZedk(rej$yy)
N)threading_helper)	print_excT)module2ceZdZdZdZdZy)TempFileGreedyrc`tj|_tj	ttD]=}	tjd}|j|xjdz
c_
?y#|xjdz
c_t|jYpxYw)Nzw+b)file)
ioStringIOerrors
startEventwaitrangeFILES_PER_THREADtempfile
TemporaryFilecloseok_counterror_countr)selfifs   N/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/test_threadedtempfile.pyrunzTempFileGreedy.run%skkm'(	#A
#**51	


"
	#
,  A% t{{+s%A>>-B-N)__name__
__module____qualname__rrrrr	r	!sKH#r"r	ceZdZdZy)ThreadedTempFileTestc<ttDcgc]}t}}tj|t
j5	dddtd|D}|Dcgc]G}|jr9t|jt|jjzI}}dt||dj|fz}|j|g||j|tt zycc}w#1swYxYwcc}w)Nc34K|]}|jyw)N)r).0ts  r	<genexpr>z1ThreadedTempFileTest.test_main.<locals>.<genexpr>8s--szErrors: errors %d ok %d
%s
)rNUM_THREADSr	r
start_threadsrsetsumrstrnamergetvaluelenjoinassertEqualr)rrthreadsokr(rmsgs       r	test_mainzThreadedTempFileTest.test_main4s-2;-?@>#@@

+
+GZ^^
D		
-W-
-"5ammaff+AHH$5$5$7 8855,s6{BIIf/S)[+;;<A		5sD	D
)AD
DN)rrr r8r!r"rr$r$3s=r"r$__main__)rtest.supportrunittestr
	threading	tracebackrrequires_working_threadingr+rEventrThreadr	TestCaser$rmainr!r"r<module>rCs
)	+++48Y__

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