+
     Bi5$                     ^    ^ RI t ^ RIt^ RIt^RIHt ^ RIHt RtR tRt	Rt
 ! R R	]4      tR# )
    N)utilwrapsTc                 0   a  \        S 4      V 3R  l4       pV# )c                 b   < \        V R R4      '       d   V P                  4        S! V .VO5/ VB # )failfastF)getattrstop)selfargskwmethods   &*,&/usr/lib/python3.14/unittest/result.pyinnerfailfast.<locals>.inner   s0    4U++IIKd(T(R((    r   )r   r   s   f r   r   r      s     
6]) ) Lr   z
Stdout:
%sz
Stderr:
%sc                      a  ] tR t^t o RtRtRtRR ltR tR t	R t
R tR tR	 tR
 t]R 4       t]R 4       tR tR tR tR t]R 4       tR tR tR tR tR tR tR tR tRtV t R# )
TestResultNFc                   R V n         . V n        . V n        ^ V n        . V n        . V n        . V n        . V n        R V n        R V n	        R V n
        RV n        RV n        \        P                  V n        \        P                   V n        R V n        R# FN)r   failureserrorstestsRunskippedexpectedFailuresunexpectedSuccessescollectedDurations
shouldStopbuffer	tb_locals_stdout_buffer_stderr_buffersysstdout_original_stdoutstderr_original_stderr_mirrorOutput)r   streamdescriptions	verbositys   &&&&r   __init__TestResult.__init__&   s     "#% "$"" #

 #

"r   c                    R # N r   s   &r   printErrorsTestResult.printErrors8       r   c                f    V ;P                   ^,          un         RV n        V P                  4        R# )   FN)r   r(   _setupStdoutr   tests   &&r   	startTestTestResult.startTest;   s$    "r   c                   V P                   '       do   V P                  f5   \        P                  ! 4       V n        \        P                  ! 4       V n        V P                  \
        n        V P                  \
        n        R # R # r/   )r   r"   ioStringIOr!   r#   r$   r&   r1   s   &r   r7   TestResult._setupStdoutA   sR    ;;;""*&(kkm#&(kkm#,,CJ,,CJ r   c                    R # r/   r0   r1   s   &r   startTestRunTestResult.startTestRunI   r4   r   c                4    V P                  4        R V n        R# r   )_restoreStdoutr(   r8   s   &&r   stopTestTestResult.stopTestO   s    "r   c                ,   V P                   '       Ed   V P                  '       d   \        P                  P	                  4       p\        P
                  P	                  4       pV'       dG   VP                  R 4      '       g
   VR ,          pV P                  P                  \        V,          4       V'       dG   VP                  R 4      '       g
   VR ,          pV P                  P                  \        V,          4       V P                  \        n        V P                  \        n        V P                  P                  ^ 4       V P                  P                  4        V P                  P                  ^ 4       V P                  P                  4        R# R# )
N)r   r(   r#   r$   getvaluer&   endswithr%   writeSTDOUT_LINEr'   STDERR_LINEr!   seektruncater"   )r   outputerrors   &  r   rD   TestResult._restoreStdoutT   s   ;;;!!!,,.

++-!??400$))//f0DE >>$//))//e0CD..CJ..CJ$$Q'((*$$Q'((*% r   c                    R # r/   r0   r1   s   &r   stopTestRunTestResult.stopTestRuni   r4   r   c                j    V P                   P                  WP                  W!4      34       R V n        R# TN)r   append_exc_info_to_stringr(   r   r9   errs   &&&r   addErrorTestResult.addErroro   s,    
 	D":":3"EFG!r   c                j    V P                   P                  WP                  W!4      34       R V n        R# rW   )r   rX   rY   r(   rZ   s   &&&r   
addFailureTestResult.addFailurew   s,     	d$<$<S$GHI!r   c                    Ve   \        V RR4      '       d   V P                  4        \        V^ ,          VP                  4      '       d   V P                  pMV P
                  pVP                  W P                  W14      34       RV n        R # R # )Nr   FT)	r	   r
   
issubclassfailureExceptionr   r   rX   rY   r(   )r   r9   subtestr[   r   s   &&&& r   
addSubTestTestResult.addSubTest~   sq     ?tZ//		#a&$"7"788MM7$<$<S$GHI!%D r   c                    R # r/   r0   r8   s   &&r   
addSuccessTestResult.addSuccess   s    r   c                >    V P                   P                  W34       R # r/   )r   rX   )r   r9   reasons   &&&r   addSkipTestResult.addSkip   s    TN+r   c                \    V P                   P                  WP                  W!4      34       R # r/   )r   rX   rY   rZ   s   &&&r   addExpectedFailureTestResult.addExpectedFailure   s'    $$++C67	9r   c                <    V P                   P                  V4       R # r/   )r   rX   r8   s   &&r   addUnexpectedSuccessTestResult.addUnexpectedSuccess   s     	  ''-r   c                z    \        V R 4      '       d)   V P                  P                  \        V4      V34       R# R# )r   N)hasattrr   rX   str)r   r9   elapseds   &&&r   addDurationTestResult.addDuration   s4     4-..##**CIw+?@ /r   c                    \        V P                  4      \        V P                  4      u;8H  ;'       d    ^ 8H  Mu ;'       d2    \        V R4      '       * ;'       g    \        V P                  4      ^ 8H  # )r   r   )lenr   r   ru   r   r1   s   &r   wasSuccessfulTestResult.wasSuccessful   s`    
 T]]#s4;;'7<<1< 5 5T#899 4 4T--.!3	6r   c                    R V n         R# rW   )r   r1   s   &r   r
   TestResult.stop   s	    r   c                   Vw  r4pV P                  W4WR4      p\        P                  ! W4VV P                  R R7      p^ RIHp \        V R4      ;'       d    V! V P                  R7      p\        VP                  VR7      4      p	V P                  '       d   \        P                  P                  4       p
\        P                  P                  4       pV
'       d=   V
P                  R4      '       g
   V
R,          p
V	P!                  \"        V
,          4       V'       d=   VP                  R4      '       g
   VR,          pV	P!                  \$        V,          4       RP'                  V	4      # )T)capture_localscompact)can_colorizer)   )file)colorizerH    )_clean_tracebacks	tracebackTracebackExceptionr    	_colorizer   ru   r)   listformatr   r#   r$   rI   r&   rJ   rX   rL   rM   join)r   r[   r9   exctypevaluetbtb_er   r   msgLinesrP   rQ   s   &&&         r   rY   TestResult._exc_info_to_string   s    ##GB=++B>>49 	+4*MM|/MX67;;;ZZ((*FJJ'')Et,,dNFf 45~~d++TMEe 34wwx  r   c                $   R pRpWV3.p\        V4      0pV'       d   VP                  4       w  rpV'       d&   V P                  V4      '       d   VP                  pK-  WP                  J d   V P                  V4       V'       d   TpRpMW2n        Vf   K  VP                  VP                  3 F[  p	V	f   K	  \        V	4      V9  g   K  VP                  \        V	4      WP                  34       VP                  \        V	4      4       K]  	  K  V# )NTF)idpop_is_relevant_tb_leveltb_nextrc   _remove_unittest_tb_frames__traceback__	__cause____context__rX   typeadd)
r   r   r   r   r9   retfirstexcsseencs
   &&&&&     r   r   TestResult._clean_tracebacks   s    $%5	{#'88: WR33B77ZZ /////3&(# //5+<+<=A}Ad):T!Wa$ABA > 
r   c                4    R VP                   P                  9   # )
__unittest)tb_frame	f_globals)r   r   s   &&r   r    TestResult._is_relevant_tb_level   s    r{{4444r   c                    R pV'       d(   V P                  V4      '       g   TpVP                  pK/  Ve
   R Vn        R # R # r/   )r   r   )r   r   prevs   && r   r   %TestResult._remove_unittest_tb_frames   s<     33B77DBDL r   c                    R \         P                  ! V P                  4      V P                  \	        V P
                  4      \	        V P                  4      3,          # )z!<%s run=%i errors=%i failures=%i>)r   strclass	__class__r   r{   r   r   r1   s   &r   __repr__TestResult.__repr__   sA    3dnn-t}}c$++>NDMM"$$ 	%r   )r(   r'   r%   r"   r!   r   r   r   r   r   r   r   r   r    r   r   )NNN)!__name__
__module____qualname____firstlineno___previousTestClass_testRunEntered_moduleSetUpFailedr,   r2   r:   r7   rA   rE   rD   rT   r   r\   r_   re   rh   rl   ro   rr   rx   r|   r
   rY   r   r   r   r   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s      O#$.-#
+* " " " "&",9
 . .	A6!285 % %r   r   )r=   r#   r   r   r   	functoolsr   r   r   rL   rM   objectr   r0   r   r   <module>r      s:    
 
   
 k% k%r   