+
    Bi
                     @    ^ RI t ^ RIt^ RIt^ RIHt  ! R R]4      tR# )    N)TestCasec                   T   a  ] tR t^
t o V 3R lR ltR tV 3R lR ltR	R ltRtV t	R# )
ParallelTestCasec                &   < V ^8  d   QhRS[ RS[/# )   	test_casenum_threads)r   int)format__classdict__s   "5/usr/lib/python3.14/test/libregrtest/parallel_case.py__annotate__ParallelTestCase.__annotate__   s     7 7( 7 7    c                b    Wn         W n        VP                  V n        VP                  V n        R # N)r   r	   _testMethodName_testMethodDoc)selfr   r	   s   &&&r   __init__ParallelTestCase.__init__   s)    "&(88'66r   c                L    \        V P                  4       R V P                   R2# )z
 [threads=])strr   r	   )r   s   &r   __str__ParallelTestCase.__str__   s&    dnn%&j1A1A0B!DDr   c                T   < V ^8  d   QhRS[ RS[P                  RS[P                  /# )r   r   resultbarrier)r   unittest
TestResult	threadingBarrier)r   r   s   "r   r   r      s/      H h6I6I %--r   c                H    VP                  4        VP                  V4       R # r   )waitrun)r   r   r   r   s   &&&&r   
run_workerParallelTestCase.run_worker   s    fr   Nc                   Vf;   \         P                  4       p\        VRR 4      p\        VRR 4      pVe   V! 4        MR pVP                  V 4       \	        V P
                  4       Uu. uF#  p\        P                  ! V P                   4      NK%  	  pp\	        V P
                  4       Uu. uF  p\        P                  ! 4       NK  	  pp\        P                  ! V P
                  4      p. p\        \        WV4      4       FW  w  p	w  r\        P                  ! V P                  WV3\        V P                   4       RV	 2RR7      pVP!                  V4       KY  	  V F  pVP#                  4        K  	  V F  pVP%                  4        K  	  \&        ;QJ d    R V 4       F  '       d   K   RM	  RM! R V 4       4      '       d   VP)                  V 4       V EF  p\+        VP,                  4      ^ 8  g   \+        VP.                  4      ^ 8  d   RVn        VP,                  P3                  VP,                  4       VP.                  P3                  VP.                  4       VP4                  P3                  VP4                  4       VP6                  P3                  VP6                  4       VP8                  P3                  VP8                  4       VP:                  P3                  VP:                  4       EK   	  \<        ;QJ d    R V 4       F  '       g   K   RM	  RM! R V 4       4      '       d   VP?                  4        VPA                  V 4       Ve
   V! 4        R # R # u upi u upi )	NstartTestRunstopTestRun-T)targetargsnamedaemonc              3   @   "   T F  qP                  4       x  K  	  R # 5ir   )wasSuccessful.0rs   & r   	<genexpr>'ParallelTestCase.run.<locals>.<genexpr>9   s     2'Q  's   Fc              3   8   "   T F  qP                   x  K  	  R # 5ir   )
shouldStopr3   s   & r   r6   r7   H   s     -W||Ws   )!r   defaultTestResultgetattr	startTestranger	   copyr    r!   r"   r#   	enumeratezipThreadr'   r   appendstartjoinall
addSuccesslenerrorsfailures_mirrorOutputextendskippedexpectedFailuresunexpectedSuccessescollectedDurationsanystopstopTest)r   r   r*   r+   _casesresultsr   threadsicaser5   threads   &&           r   r&   ParallelTestCase.run   s   >002F"6>4@L!&->K'K 	49$:J:J4KL4Kq4>>*4KL278H8H2IJ2IQ8&&(2IJ##D$4$45%c%&9:LAy%%T__,0W+=.1$...A-B!A3+G-13F NN6" ; FLLN  GLLN  32'23332'222d# A188}q C

Oa$7'+$MM  *OO""1::.NN!!!)),##**1+=+=>&&--a.C.CD%%,,Q-A-AB  3-W-333-W---KKM 	"M #O MJs   ))M'+M,)r   r   r	   r   r   )
__name__
__module____qualname____firstlineno__r   r   r'   r&   __static_attributes____classdictcell__)r   s   @r   r   r   
   s)     7 7E 
5 5r   r   )r>   r"   r    r   r    r   r   <module>rb      s!       Dx Dr   