ó
    Eñi>Û  ã                  óÄ  • % S SK Jr  S SKrS SKJr  S SKJr  S SKJr  S SKJr  S SKrS SK	r	S SK	J
r
  S SK	Jr  S S	KJr  S SKrS S
KJr  S SKrS SKrS SKJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJr  S SKJ r   S SKJ!r!  S SKJ"r"  S SKJ#r#  S SKJ$r$  S SKJ%r%  S SKJ&r&  S SK'r'S SK(r(S SK)J*r*  S SK)J+r+  S SK)J,r,  S SK)J-r-  S S K.J/r/  S S!K0J1r1  S S"K0J2r2  S S#K3J4r4  S S$K5J6r6  S S%K7J8r8  S S&K7J9r9  \Rt                  S':  a  S S(K;J<r<  \"S)   r=\>\?   \@\>\?   S*4   -  rA " S+ S,5      rB " S- S.5      rC " S/ S05      rD " S1 S2\E\D   5      rF S[     S\S4 jjrG\&" S5\?S3S69rH\ \R’                   " S7 S8\!\H   5      5       5       rJ\K\\J\?   /\F4   -  rLS9\MS:'   \R’                   " S; S<5      5       rN\R’                  " S=S>9 " S? S@5      5       rO\R’                  " S=S>9 " SA SB\O5      5       rP\R’                  " S=S>9 " SC SD\P5      5       rQ\R’                  " S=S>9 " SE SF\P5      5       rR\R’                  " S=S>9 " SG SH\O5      5       rS " SI SJ\S5      rT\R’                  " S=S>9 " SK SL\O5      5       rU\R’                  " S=S>9 " SM SN\O5      5       rV\R’                  " S=S>9 " SO SP\O5      5       rW\R’                  " S=S>9 " SQ SR\O5      5       rX\R’                  " S=S>9 " SS ST\O5      5       rYS]SU jrZSV r[\" \'R¸                  R»                  SW5      5      r^\^R¾                  SX:X  a  \^RÀ                  r^\" \(R¸                  5      RÀ                  raS^SY jrb      S_SZ jrcg)`é    )ÚannotationsN)ÚCallable)ÚIterable)ÚMapping)ÚSequence)Ú
CO_VARARGS)ÚCO_VARKEYWORDS)ÚStringIO)ÚPath)Ú
extract_tb)Úformat_exception)Úformat_exception_only)ÚFrameSummary)ÚCodeType)Ú	FrameType)ÚTracebackType)ÚAny)ÚClassVar)ÚFinal)Úfinal)ÚGeneric)ÚLiteral)Úoverload)ÚSupportsIndex)Ú	TypeAlias)ÚTypeVar)Ú
findsource©Ú
getrawcode)Úgetstatementrange_ast)ÚSource)ÚTerminalWriter)Ú
safeformat©Úsaferepr)Úget_real_func)Úcheck_ispytest)Úabsolutepath)Úbestrelpath©é   é   )ÚBaseExceptionGroup)ÚlongÚshortÚlineÚnoÚnativeÚvalueÚauto.c                  ó¬   • \ rS rSrSrSrSS jr\SS j5       rS r	Sr
\SS j5       r\SS	 j5       r\SS
 j5       r\SS j5       rSS jrSSS jjrSrg)ÚCodeé<   z#Wrapper around Python code objects.©Úrawc                ó   • Xl         g ©Nr8   )ÚselfÚobjs     ÚO/home/mande/repo/quber/.venv/lib/python3.13/site-packages/_pytest/_code/code.pyÚ__init__ÚCode.__init__A   s   € Ø�ó    c                ó$   • U " [        U5      5      $ r;   r   )Úclsr=   s     r>   Úfrom_functionÚCode.from_functionD   s   € á”:˜c“?Ó#Ð#rA   c                ó4   • U R                   UR                   :H  $ r;   r8   )r<   Úothers     r>   Ú__eq__ÚCode.__eq__H   s   € Ø�x‰x˜5Ÿ9™9Ñ$Ð$rA   Nc                ó4   • U R                   R                  S-
  $ ©Né   )r9   Úco_firstlineno©r<   s    r>   ÚfirstlinenoÚCode.firstlinenoN   s   € à�x‰x×&Ñ&¨Ñ*Ð*rA   c                ó.   • U R                   R                  $ r;   )r9   Úco_namerN   s    r>   ÚnameÚ	Code.nameR   s   € à�x‰x×ÑÐrA   c                ó
  • U R                   R                  (       d  g [        U R                   R                  5      nUR                  5       (       d  [	        S5      eU$ ! [         a    U R                   R                  s $ f = f)zgReturn a path object pointing to source code, or an ``str`` in
case of ``OSError`` / non-existing file.Ú zpath check failed.)r9   Úco_filenamer(   ÚexistsÚOSError)r<   Úps     r>   ÚpathÚ	Code.pathV   sj   € ð �x‰x×#×#Øð		(Ü˜TŸX™X×1Ñ1Ó2ˆAà—8‘8—:‘:ÜÐ2Ó3Ð3ØˆHøÜó 	(ð —8‘8×'Ñ'Ò'ð	(ús   žA A Á BÂBc                ó4   • [        U R                  5      u  pU$ )zJReturn a _pytest._code.Source object for the full source file of the code.)r   r9   )r<   ÚfullÚ_s      r>   Ú
fullsourceÚCode.fullsourceg   s   € ô ˜TŸX™XÓ&‰ˆØˆrA   c                ó,   • [        U R                  5      $ )zGReturn a _pytest._code.Source object for the code object's source only.)r!   r9   rN   s    r>   ÚsourceÚCode.sourcem   s   € ô �d—h‘hÓÐrA   c                ó²   • U R                   nUR                  nU(       a*  X2R                  [        -  -  nX2R                  [        -  -  nUR
                  SU $ )zœReturn a tuple with the argument names for the code object.

If 'var' is set True also return the names of the variable and
keyword arguments when present.
N)r9   Úco_argcountÚco_flagsr   r	   Úco_varnames)r<   Úvarr9   Úargcounts       r>   ÚgetargsÚCode.getargsr   sL   € ð �h‰hˆØ—?‘?ˆÞØŸ™¤zÑ1Ñ1ˆHØŸ™¤~Ñ5Ñ5ˆHØ�‰˜y Ð)Ð)rA   )r=   r   ÚreturnÚNone)r=   Úobjectrm   r6   ©rm   Úint©rm   Ústr©rm   ú
Path | str)rm   úSource | None©rm   r!   ©F)ri   Úboolrm   ztuple[str, ...])Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r?   ÚclassmethodrD   rH   Ú__hash__ÚpropertyrO   rS   r[   r`   rc   rk   Ú__static_attributes__© rA   r>   r6   r6   <   sŒ   † Ù-à€Iôð ó$ó ð$ò%ð €Hàó+ó ð+ð ó ó ð ð ó(ó ð(ð  óó ðô
 ÷
*ñ *rA   r6   c                  ó¨   • \ rS rSrSrSrSS jr\SS j5       r\SS j5       r	\SS j5       r
\SS j5       r\SS	 j5       rS
 rSS jrSSS jjrSrg)ÚFrameé�   zcWrapper around a Python frame holding f_locals and f_globals
in which expressions can be evaluated.r8   c                ó   • Xl         g r;   r8   )r<   Úframes     r>   r?   ÚFrame.__init__‡   s   € Ø�rA   c                ó4   • U R                   R                  S-
  $ rK   )r9   Úf_linenorN   s    r>   ÚlinenoÚFrame.linenoŠ   s   € à�x‰x× Ñ  1Ñ$Ð$rA   c                ó.   • U R                   R                  $ r;   )r9   Ú	f_globalsrN   s    r>   r�   ÚFrame.f_globalsŽ   s   € à�x‰x×!Ñ!Ð!rA   c                ó.   • U R                   R                  $ r;   )r9   Úf_localsrN   s    r>   r“   ÚFrame.f_locals’   s   € à�x‰x× Ñ Ð rA   c                ó@   • [        U R                  R                  5      $ r;   )r6   r9   Úf_coderN   s    r>   ÚcodeÚ
Frame.code–   s   € ä�D—H‘H—O‘OÓ$Ð$rA   c                ó¤   • U R                   R                  c  [        S5      $ U R                   R                  R                  U R                  5      $ )zStatement this frame is at.rV   )r—   r`   r!   Úgetstatementr�   rN   s    r>   Ú	statementÚFrame.statementš   s=   € ð �9‰9×ÑÑ'Ü˜"“:ÐØ�y‰y×#Ñ#×0Ñ0°·±Ó=Ð=rA   c                ó„   • U R                   R                  5       nUR                  U5        [        XR                  U5      $ )zvEvaluate 'code' in the frame.

'vars' are optional additional local variables.

Returns the result of the evaluation.
)r“   ÚcopyÚupdateÚevalr�   )r<   r—   Úvarsr“   s       r>   r    Ú
Frame.eval¡   s3   € ð —=‘=×%Ñ%Ó'ˆØ�‰˜ÔÜ�DŸ.™.¨(Ó3Ð3rA   c                ó   • [        U5      $ )zCReturn a 'safe' (non-recursive, one-line) string repr for 'object'.r$   )r<   ro   s     r>   ÚreprÚ
Frame.repr¬   s   € ä˜ÓÐrA   c                ó°   • / nU R                   R                  U5       H#  n UR                  X0R                  U   45        M%     U$ ! [         a     M6  f = f)zŽReturn a list of tuples (name, value) for all arguments.

If 'var' is set True, also include the variable and keyword arguments
when present.
)r—   rk   Úappendr“   ÚKeyError)r<   ri   ÚretvalÚargs       r>   rk   ÚFrame.getargs°   sZ   € ð ˆØ—9‘9×$Ñ$ SÖ)ˆCðØ—‘˜s§M¡M°#Ñ$6Ð7Ö8ñ *ð
 ˆøô ó Úðús   ¢AÁ
AÁAN)r‰   r   rm   rn   rp   ©rm   zdict[str, Any])rm   r6   rw   )ro   ro   rm   rs   rx   )ri   ry   )rz   r{   r|   r}   r~   r   r?   r‚   r�   r�   r“   r—   r›   r    r¤   rk   rƒ   r„   rA   r>   r†   r†   �   s‹   † ñ.ð €Iôð ó%ó ð%ð ó"ó ð"ð ó!ó ð!ð ó%ó ð%ð ó>ó ð>ò	4ô ÷ñ rA   r†   c                  óÆ  • \ rS rSrSrSr S     SS jjr    SS jr\SS j5       r	SS jr
\R                  S	:  a  \S S
 j5       r\S S j5       r\S S j5       rO\S S j5       r\S S j5       r\S S j5       r\S!S j5       r\SS j5       rS"S jr\S#S j5       r\S$S j5       r\S%S j5       rSS jr S   S&S jjr\" \5      rS'S jrS"S jr\S"S j5       rSrg)(ÚTracebackEntryé¿   zA single entry in a Traceback.©Ú	_rawentryÚ_repr_styleNc                ó   • Xl         X l        g r;   r°   )r<   ÚrawentryÚ
repr_styles      r>   r?   ÚTracebackEntry.__init__Ä   s   € ð
 !)ŒØ",ÕrA   c                ó.   • [        U R                  U5      $ r;   )r®   r±   )r<   rµ   s     r>   Úwith_repr_styleÚTracebackEntry.with_repr_styleÌ   s   € ô ˜dŸn™n¨jÓ9Ð9rA   c                ó4   • U R                   R                  S-
  $ rK   )r±   Ú	tb_linenorN   s    r>   r�   ÚTracebackEntry.linenoÑ   s   € à�~‰~×'Ñ'¨!Ñ+Ð+rA   c                ó4   • [        U R                  SS9nUS   $ )NrL   )Úlimitr   )r   r±   )r<   Ústack_summarys     r>   Úget_python_framesummaryÚ&TracebackEntry.get_python_framesummaryÕ   s   € ô # 4§>¡>¸Ñ;ˆØ˜QÑÐrA   r*   c                ó   • g r;   r„   rN   s    r>   Úend_lineno_relativeÚ"TracebackEntry.end_lineno_relativeÞ   ó   € àrA   c                ó   • g r;   r„   rN   s    r>   ÚcolnoÚTracebackEntry.colnoâ   rÅ   rA   c                ó   • g r;   r„   rN   s    r>   Ú	end_colnoÚTracebackEntry.end_colnoæ   rÅ   rA   c                óž   • U R                  5       nUR                  c  g UR                  S-
  U R                  R                  R                  -
  $ rK   )rÀ   Ú
end_linenor‰   r—   rO   )r<   Úframe_summarys     r>   rÃ   rÄ   ë   sC   € à ×8Ñ8Ó:ˆMØ×'Ñ'Ñ/ØØ ×+Ñ+¨aÑ/°$·*±*·/±/×2MÑ2MÑMÐMrA   c                ó6   • U R                  5       R                  $ )z>Starting byte offset of the expression in the traceback entry.)rÀ   rÇ   rN   s    r>   rÇ   rÈ   ò   s   € ð ×/Ñ/Ó1×7Ñ7Ð7rA   c                ó6   • U R                  5       R                  $ )z<Ending byte offset of the expression in the traceback entry.)rÀ   rÊ   rN   s    r>   rÊ   rË   ÷   s   € ð ×/Ñ/Ó1×;Ñ;Ð;rA   c                ó@   • [        U R                  R                  5      $ r;   )r†   r±   Útb_framerN   s    r>   r‰   ÚTracebackEntry.frameü   s   € ä�T—^‘^×,Ñ,Ó-Ð-rA   c                ó\   • U R                   U R                  R                  R                  -
  $ r;   )r�   r‰   r—   rO   rN   s    r>   ÚrellineÚTracebackEntry.relline   s   € à�{‰{˜TŸZ™ZŸ_™_×8Ñ8Ñ8Ð8rA   c                ój   • SU R                   R                  R                   SU R                  S-    S3$ )Nz<TracebackEntry Ú:rL   Ú>)r‰   r—   r[   r�   rN   s    r>   Ú__repr__ÚTracebackEntry.__repr__  s/   € Ø! $§*¡*§/¡/×"6Ñ"6Ð!7°q¸¿¹Àq¹Ð8IÈÐKÐKrA   c                ó‚   • U R                   R                  R                  nUc   eUR                  U R                  5      $ )z6_pytest._code.Source object for the current statement.)r‰   r—   r`   rš   r�   )r<   rc   s     r>   r›   ÚTracebackEntry.statement  s8   € ð —‘—‘×+Ñ+ˆØÑ!Ð!Ð!Ø×"Ñ" 4§;¡;Ó/Ð/rA   c                óB   • U R                   R                  R                  $ )zPath to the source code.)r‰   r—   r[   rN   s    r>   r[   ÚTracebackEntry.path  s   € ð �z‰z�‰×#Ñ#Ð#rA   c                ó.   • U R                   R                  $ )zLocals of underlying frame.)r‰   r“   rN   s    r>   ÚlocalsÚTracebackEntry.locals  s   € ð �z‰z×"Ñ"Ð"rA   c                óB   • U R                   R                  R                  $ r;   )r‰   r—   rO   rN   s    r>   ÚgetfirstlinesourceÚ!TracebackEntry.getfirstlinesource  s   € Ø�z‰z�‰×*Ñ*Ð*rA   c                ój  • U R                   R                  R                  nUc  gS=p4Ub5  U R                   R                  R                  nUb  UR	                  US5      nU R                  5       n [        U R                  X$S9u  pFnUb  Ub  XAU'   X%U $ ! [         a    U R                  S-   n Nf = f)zReturn failing source code.N)ÚastnoderL   )	r‰   r—   r`   r[   Úgeträ   r    r�   ÚSyntaxError)r<   Úastcacherc   Úkeyrç   Ústartr_   Úends           r>   Ú	getsourceÚTracebackEntry.getsource  s»   € ð —‘—‘×+Ñ+ˆØ‰>ØØÐˆØÑØ—*‘*—/‘/×&Ñ&ˆCØ‰Ø"Ÿ,™, s¨DÓ1�Ø×'Ñ'Ó)ˆð	(Ü3Ø—‘˜Vñ‰OˆG˜ð ‰ 8Ñ#7Ø '˜‘Ø˜CÐ Ð øô ó 	"Ø—+‘+ ‘/ŠCð	"ús   Á1B ÂB2Â1B2c                óÜ   • SnU R                   R                  U R                   R                  4 H	  n US   n  O   U(       a  [	        U5      (       a  U" U5      $ U$ ! [         a     M;  f = f)zìReturn True if the current frame has a var __tracebackhide__
resolving to True.

If __tracebackhide__ is a callable, it gets called with the
ExceptionInfo instance and can decide whether to hide the traceback.

Mostly for internal use.
FÚ__tracebackhide__)r‰   r“   r�   Ú	ExceptionÚcallable)r<   ÚexcinfoÚtbhÚmaybe_ns_dcts       r>   ÚishiddenÚTracebackEntry.ishidden7  st   € ð MRˆØ!ŸZ™Z×0Ñ0°$·*±*×2FÑ2FÓGˆLð
Ø"Ð#6Ñ7�ñ ñ Hö ”8˜C—=‘=Ù�w“<ÐØˆ
øô ó Úðús   ³AÁ
A+Á*A+c           	     ó  • U R                   R                  R                  n [        U R                  5      R                  5       nSU R                   SU R                  S-    SU SU S3	$ ! [         a    e [         a    Sn N>f = f)Nú???z  File 'z':rL   z in z
  Ú
)
r‰   r—   rS   rs   r›   ÚlstripÚKeyboardInterruptÚBaseExceptionr[   r�   )r<   rS   r0   s      r>   Ú__str__ÚTracebackEntry.__str__P  s‚   € Ø�z‰z�‰×#Ñ#ˆð	Ü�t—~‘~Ó&×-Ñ-Ó/ˆDð ˜$Ÿ)™)˜ B t§{¡{°Q¡Ð&7°t¸D¸6ÀÀdÀVÈ2ÐNÐNøô !ó 	ØÜó 	ØŠDð	ús   ¢#A+ Á+BÂBc                óV   • U R                   R                  R                  R                  $ )zco_name of underlying code.)r‰   r—   r9   rR   rN   s    r>   rS   ÚTracebackEntry.name]  s   € ð �z‰z�‰×"Ñ"×*Ñ*Ð*rA   r;   )r´   r   rµ   úLiteral['short', 'long'] | Nonerm   rn   )rµ   r  rm   r®   rp   )rm   r   ©rm   ú
int | None)rm   r†   rr   rw   rt   r¬   )rê   z dict[str | Path, ast.AST] | Nonerm   rv   )rô   ú#ExceptionInfo[BaseException] | Nonerm   ry   )rz   r{   r|   r}   r~   r   r?   r¸   r‚   r�   rÀ   ÚsysÚversion_inforÃ   rÇ   rÊ   r‰   rÕ   rÚ   r›   r[   rá   rä   rî   rc   r÷   rÿ   rS   rƒ   r„   rA   r>   r®   r®   ¿   s›  † Ù(à,€Ið
 7;ð-àð-ð 4ð-ð 
õ	-ð:Ø9ð:à	ô:ð
 ó,ó ð,ô ð ×Ñ˜'Ó!à	ó	ó 
ð	ð 
ó	ó 
ð	ð 
ó	ó 
ñ	ð 
ó	Nó 
ð	Nð 
ó	8ó 
ð	8ð 
ó	<ó 
ð	<ð ó.ó ð.ð ó9ó ð9ôLð ó0ó ð0ð ó$ó ð$ð ó#ó ð#ô+ð <@ð!Ø8ð!à	õ!ñ4 �iÓ €Fôô2Oð ó+ó ó+rA   r®   c                  ó´   ^ • \ rS rSrSr    SU 4S jjr    S         SS jjr\SS j5       r\SS j5       rSU 4S jjr    SS jr	SS	 jr
S
rU =r$ )Ú	Tracebackic  zQTraceback objects encapsulate and offer higher level access to Traceback entries.c                ó„   >• [        U[        5      (       a  SS jn[        TU ]  U" U5      5        g[        TU ]  U5        g)z@Initialize from given python traceback object and ExceptionInfo.c              3  óT   #   • U nUb  [        U5      v •  UR                  nUb  M  g g 7fr;   )r®   Útb_next)ÚcurÚcur_s     r>   ÚfÚTraceback.__init__.<locals>.fm  s,   é € Ø-0�ØÑ&Ü(¨Ó.Ò.ØŸ<™<�Dð Õ&ùs   ‚"(¦(N)r  r   rm   zIterable[TracebackEntry])Ú
isinstancer   Úsuperr?   )r<   Útbr  Ú	__class__s      €r>   r?   ÚTraceback.__init__f  s7   ø€ ô
 �bœ-×(Ñ(ô(ô ‰GÑ™Q˜r›UÕ#ä‰GÑ˜RÕ rA   c                óø  • Uc  SO[         R                  " U5      nUc  SO[         R                  " U5      nU  H½  nUR                  R                  nUR                  n	Ub  [        U	5      U:w  a  M9  Ub.  [        U	[        5      (       a  US U	R                   5       ;   a  Mj  Ub  UR                  U:w  a  M  Ub&  UR                  R                  R                  U:w  a  M¨  [        UR                  5      s  $    U $ )ap  Return a Traceback instance wrapping part of this Traceback.

By providing any combination of path, lineno and firstlineno, the
first frame to start the to-be-returned traceback is determined.

This allows cutting the first part of a Traceback instance e.g.
for formatting reasons (removing some uninteresting bits that deal
with handling of the exception/traceback).
Nc              3  ó8   #   • U  H  n[        U5      v •  M     g 7fr;   )rs   )Ú.0rZ   s     r>   Ú	<genexpr>Ú Traceback.cut.<locals>.<genexpr>‘  s   é € Ð$FÒ5E°¤S¨§V VÒ5Eùs   ‚)ÚosÚfspathr‰   r—   r[   rs   r  r   Úparentsr�   rO   r
  r±   )
r<   r[   r�   rO   ÚexcludepathÚpath_Úexcludepath_Úxr—   Úcodepaths
             r>   ÚcutÚTraceback.cutw  sÒ   € ð  ™‘¬"¯)ª)°D«/ˆØ*Ñ2‘t¼¿	º	À+Ó8NˆÛˆAØ—7‘7—<‘<ˆDØ—y‘yˆHØÑ¤C¨£M°UÓ$:ÙàÑ'Ü˜x¬×.Ñ.Ø Ñ$F°X×5EÒ5EÓ$FÓFáØÑ! a§h¡h°&Ó&8ÙØÑ&¨1¯7©7¯<©<×+CÑ+CÀ{Ó+RÙÜ˜QŸ[™[Ó)Ò)ñ ð  ˆrA   c                ó   • g r;   r„   ©r<   rë   s     r>   Ú__getitem__ÚTraceback.__getitem__›  s   € ØADrA   c                ó   • g r;   r„   r'  s     r>   r(  r)  ž  s   € Ø47rA   c                óˆ   >• [        U[        5      (       a  U R                  [        TU ]  U5      5      $ [        TU ]  U5      $ r;   )r  Úslicer  r  r(  )r<   rë   r  s     €r>   r(  r)  ¡  s9   ø€ Ü�cœ5×!Ñ!Ø—>‘>¤%¡'Ñ"5°cÓ":Ó;Ð;ä‘7Ñ& sÓ+Ð+rA   c               óh   ^• [        T[        5      (       a  U4S jnOTn[        [        X 5      5      $ )ag  Return a Traceback instance with certain items removed.

If the filter is an `ExceptionInfo`, removes all the ``TracebackEntry``s
which are hidden (see ishidden() above).

Otherwise, the filter is a function that gets a single argument, a
``TracebackEntry`` instance, and should return True when the item should
be added to the ``Traceback``, False when not.
c                ó0   >• U R                  T5      (       + $ r;   )r÷   )r"  Úexcinfo_or_fns    €r>   Ú<lambda>Ú"Traceback.filter.<locals>.<lambda>¶  s   ø€ ˜qŸz™z¨-Ó8Õ8rA   )r  ÚExceptionInfor
  Úfilter)r<   r/  Úfns    ` r>   r3  ÚTraceback.filter§  s,   ø€ ô �m¤]×3Ñ3Ü8‰BàˆBÜœ Ó)Ó*Ð*rA   c                ó’  • 0 n[        U 5       H¶  u  p#UR                  R                  R                  [	        UR                  R                  R
                  5      UR                  4nUR                  U/ 5      n[        UR                  R                  5      nU(       a  U H  nXv:X  d  M
  Us  s  $    UR                  U5        M¸     g)zvReturn the index of the frame/TracebackEntry where recursion originates if
appropriate, None if no recursion occurred.N)Ú	enumerater‰   r—   r[   Úidr9   r�   Ú
setdefaultÚdictr“   r§   )r<   ÚcacheÚiÚentryrë   ÚvaluesÚlocÚotherlocs           r>   ÚrecursionindexÚTraceback.recursionindex»  s¢   € ð CEˆÜ! $ž‰HˆAð
 —+‘+×"Ñ"×'Ñ'¬¨E¯K©K×,<Ñ,<×,@Ñ,@Ó)AÀ5Ç<Á<ÐOˆCØ×%Ñ% c¨2Ó.ˆFä�u—{‘{×+Ñ+Ó,ˆCÞÛ &�HØ•Ø œñ !'ð �M‰M˜#Öñ (ð rA   r„   )r  z(TracebackType | Iterable[TracebackEntry]rm   rn   )NNNN)
r[   zos.PathLike[str] | str | Noner�   r  rO   r  r  zos.PathLike[str] | Nonerm   r
  )rë   r   rm   r®   )rë   r,  rm   r
  )rë   zSupportsIndex | slicerm   zTracebackEntry | Traceback)r/  z?ExceptionInfo[BaseException] | Callable[[TracebackEntry], bool]rm   r
  r  )rz   r{   r|   r}   r~   r?   r$  r   r(  r3  rA  rƒ   Ú__classcell__©r  s   @r>   r
  r
  c  s¥   ø† Ù[ð!à4ð!ð 
÷!ð& /3Ø!Ø"&Ø/3ð"à+ð"ð ð"ð  ð	"ð
 -ð"ð 
õ"ðH ÛDó ØDàÛ7ó Ø7÷,ð+àVð+ð 
ô	+÷(ò rA   r
  Tc                ór  •  [        U S/ 5      nU(       d"  [        U [        5      (       a  U R                  nO[        U 5      nSR                  U/UQ5      $ ! [         aU    [        [        R                  R	                  SS 5      SS5      n[        R
                  S:  a  [        X5      (       a  / n N¥e f = f)NÚ	__notes__zurllib.errorÚ	HTTPErrorr„   )r+   é   rû   )Úgetattrr¨   r  Úmodulesrè   r  r  r-   Úmessagers   Újoin)ÚexcÚinclude_subexception_msgÚnotesrG  rK  s        r>   Ústringify_exceptionrP  Ð  s­   € ð
Ü˜˜[¨"Ó-ˆö $¬
°3Ô8J×(KÑ(KØ—+‘+‰ä�c“(ˆà�9‰9àð	
àð	
óð øô ó ô œCŸK™KŸO™O¨N¸DÓAÀ;ÐPRÓSˆ	Ü×Ñ˜gÓ%¬*°S×*DÑ*DØŠEð ðús   ‚A ÁAB6Â4B6ÚE)ÚboundÚ	covariantc                  ó<  • \ rS rSr% SrSrS\S'   S\S'   S\S	'   S
\S'     S%SS.         S&S jjjr\ S'     S(S jj5       r	\ S'     S)S jj5       r
\S'S*S jj5       r\S+S j5       rS,S jr\S-S j5       r\S.S j5       r\S/S j5       r\S0S j5       r\S1S j5       r\R(                  S2S j5       rS0S jrS3S4S jjrS5S jrS6S jr        S7                 S8S jjrS9S  jr  S:           S;S! jjrSSS".       S<S# jjrS$rg)=r2  iî  zJWraps sys.exc_info() objects and offers help for navigating the traceback.zAssertionError('assert r   Ú_assert_start_reprú'tuple[type[E], E, TracebackType] | NoneÚ_excinfors   Ú
_striptextúTraceback | NoneÚ
_tracebackNF©Ú	_ispytestc               ó>   • [        U5        Xl        X l        X0l        g r;   )r'   rW  rX  rZ  )r<   rô   Ú	striptextÚ	tracebackr\  s        r>   r?   ÚExceptionInfo.__init__ù  s   € ô 	�yÔ!ØŒØ#ŒØ#�rA   c                ó‚   • UR                   (       d   S5       e[        U5      XR                   4nU R                  X25      $ )aõ  Return an ExceptionInfo for an existing exception.

The exception must have a non-``None`` ``__traceback__`` attribute,
otherwise this function fails with an assertion error. This means that
the exception must have been raised, or added a traceback with the
:py:meth:`~BaseException.with_traceback()` method.

:param exprinfo:
    A text string helping to determine if we should strip
    ``AssertionError`` from the output. Defaults to the exception
    message/``__str__()``.

.. versionadded:: 7.4
zTExceptions passed to ExcInfo.from_exception(...) must have a non-None __traceback__.)Ú__traceback__ÚtypeÚfrom_exc_info)rC   Ú	exceptionÚexprinfoÚexc_infos       r>   Úfrom_exceptionÚExceptionInfo.from_exception  sF   € ð. ×&×&ð 	
ð3ó	
Ð&ô ˜“O Y×0GÑ0GÐHˆØ× Ñ  Ó4Ð4rA   c                óÞ   • SnUcb  [        US   [        5      (       aJ  [        US   SS5      nUc  [        US   5      nU(       a"  UR	                  U R
                  5      (       a  SnU " XSS9$ )z@Like :func:`from_exception`, but using old-style exc_info tuple.rV   NrL   ÚmsgzAssertionError: Tr[  )r  ÚAssertionErrorrI  r%   Ú
startswithrU  )rC   rg  rf  rX  s       r>   rd  ÚExceptionInfo.from_exc_info$  sp   € ð ˆ
ØÑ¤
¨8°A©;¼× GÑ GÜ˜x¨™{¨E°4Ó8ˆHØÑÜ# H¨Q¡KÓ0�Þ˜H×/Ñ/°×0FÑ0F×GÑGØ/�
á�8°4Ñ8Ð8rA   c                óÀ   • [         R                  " 5       nUS   c   S5       eUS   c   S5       eUS   c   S5       eUS   US   US   4n[        R                  X15      $ )a  Return an ExceptionInfo matching the current traceback.

.. warning::

    Experimental API

:param exprinfo:
    A text string helping to determine if we should strip
    ``AssertionError`` from the output. Defaults to the exception
    message/``__str__()``.
r   zno current exceptionrL   é   )r  rg  r2  rd  )rC   rf  Útuprg  s       r>   Úfrom_currentÚExceptionInfo.from_current5  sz   € ô �lŠl‹nˆØ�1‰vÑ!Ð9Ð#9Ó9Ð!Ø�1‰vÑ!Ð9Ð#9Ó9Ð!Ø�1‰vÑ!Ð9Ð#9Ó9Ð!Ø˜‘F˜C ™F C¨¡FÐ+ˆÜ×*Ñ*¨8Ó>Ð>rA   c                ó   • U " SSS9$ )z!Return an unfilled ExceptionInfo.NTr[  r„   )rC   s    r>   Ú	for_laterÚExceptionInfo.for_laterI  s   € ñ �4 4Ñ(Ð(rA   c                ó8   • U R                   b   S5       eXl         g)z<Fill an unfilled ExceptionInfo created with ``for_later()``.Nz ExceptionInfo was already filled©rW  )r<   rg  s     r>   Úfill_unfilledÚExceptionInfo.fill_unfilledN  s   € à�}‰}Ñ$ÐHÐ&HÓHÐ$Ø �rA   c                óH   • U R                   c   S5       eU R                   S   $ )zThe exception class.z6.type can only be used after the context manager exitsr   rx  rN   s    r>   rc  ÚExceptionInfo.typeS  s/   € ð �}‰}Ñ(ð 	
ØDó	
Ð(ð �}‰}˜QÑÐrA   c                óH   • U R                   c   S5       eU R                   S   $ )zThe exception value.z7.value can only be used after the context manager exitsrL   rx  rN   s    r>   r3   ÚExceptionInfo.value[  s/   € ð �}‰}Ñ(ð 	
ØEó	
Ð(ð �}‰}˜QÑÐrA   c                óH   • U R                   c   S5       eU R                   S   $ )zThe exception raw traceback.z4.tb can only be used after the context manager exitsrp  rx  rN   s    r>   r  ÚExceptionInfo.tbc  s/   € ð �}‰}Ñ(ð 	
ØBó	
Ð(ð �}‰}˜QÑÐrA   c                óV   • U R                   c   S5       eU R                  R                  $ )zThe type name of the exception.z:.typename can only be used after the context manager exits)rW  rc  rz   rN   s    r>   ÚtypenameÚExceptionInfo.typenamek  s0   € ð �}‰}Ñ(ð 	
ØHó	
Ð(ð �y‰y×!Ñ!Ð!rA   c                óh   • U R                   c  [        U R                  5      U l         U R                   $ )zThe traceback.)rZ  r
  r  rN   s    r>   r_  ÚExceptionInfo.tracebacks  s(   € ð �?‰?Ñ"Ü'¨¯©Ó0ˆDŒOØ�‰ÐrA   c                ó   • Xl         g r;   )rZ  )r<   r3   s     r>   r_  r…  z  s   € à�rA   c                ó°   • U R                   c  gSU R                  R                   S[        U R                   S   5       S[	        U R
                  5       S3$ )Nz)<ExceptionInfo for raises contextmanager>Ú<Ú rL   z tblen=rÙ   )rW  r  rz   r%   Úlenr_  rN   s    r>   rÚ   ÚExceptionInfo.__repr__~  sS   € Ø�=‰=Ñ Ø>Ø�4—>‘>×*Ñ*Ð+¨1¬X°d·m±mÀAÑ6FÓ-GÐ,HÈÔPSÐTX×TbÑTbÓPcÐOdÐdeÐfÐfrA   c                óâ  ^•     SU4S jjmU(       aZ  [        U R                  [        5      (       a;  T" U R                  5      =nb&  U< S[        U R                  5      R                   S3$ [        U R                  U R                  5      nSR                  U5      nUR                  5       nU(       a8  UR                  U R                  5      (       a  U[        U R                  5      S nU$ )zïReturn the exception as a string.

When 'tryshort' resolves to True, and the exception is an
AssertionError, only the actual exception part of the exception
representation is returned (so 'AssertionError: ' is removed from
the beginning).
c                ó”   >• [        U R                  5      S:w  a  g [        U R                  S   =n[        5      (       a  T" U5      $ U$ )NrL   r   )rŠ  Ú
exceptionsr  r-   )ÚegÚeÚ_get_single_subexcs     €r>   r‘  Ú1ExceptionInfo.exconly.<locals>._get_single_subexcŒ  sE   ø€ ô �2—=‘=Ó! QÓ&ØÜ˜rŸ}™}¨QÑ/Ð/˜!Ô1C×DÑDÙ)¨!Ó,Ð,ØˆHrA   Nz [single exception in Ú]rV   )r�  ú!BaseExceptionGroup[BaseException]rm   zBaseException | None)r  r3   r-   rc  rz   r   rL  Úrstriprm  rX  rŠ  )r<   ÚtryshortÚsubexcÚlinesÚtextr‘  s        @r>   ÚexconlyÚExceptionInfo.exconlyƒ  sÅ   ø€ ð	Ø1ð	à!÷	ö Ü˜4Ÿ:™:Ô'9×:Ñ:Ù-¨d¯j©jÓ9Ð9�ÑFà‘ZÐ5´d¸4¿:¹:Ó6F×6OÑ6OÐ5PÐPQÐRÐRä% d§i¡i°·±Ó<ˆØ�w‰w�u‹~ˆØ�{‰{‹}ˆÞØ�‰˜tŸ™×/Ñ/ØœC §¡Ó0Ð2Ð3�ØˆrA   c                ó.   • [        U R                  U5      $ )zpReturn True if the exception is an instance of exc.

Consider using ``isinstance(excinfo.value, exc)`` instead.
)r  r3   )r<   rM  s     r>   ÚerrisinstanceÚExceptionInfo.errisinstance¤  s   € ô
 ˜$Ÿ*™* cÓ*Ð*rA   c                óN  • [        S[        U R                  5      * S-
  S5       H}  nU R                  U   nUR                  U 5      (       a  M*  UR                  R
                  R                  R                  UR                  pCU R                  SS9n[        X4S-   U5      s  $    g )NéÿÿÿÿrL   T©r–  )ÚrangerŠ  r_  r÷   r‰   r—   r9   rW   r�   rš  ÚReprFileLocation)r<   r<  r=  r[   r�   rš  s         r>   Ú_getreprcrashÚExceptionInfo._getreprcrash«  sŒ   € ô �rœC §¡Ó/Ð/°!Ñ3°RÖ8ˆAØ—N‘N 1Ñ%ˆEØ—>‘> $×'Ó'Ø$Ÿ{™{×/Ñ/×3Ñ3×?Ñ?ÀÇÁ�fØŸ,™,°˜,Ð5�Ü'¨°q©j¸'ÓBÒBñ 9ð rA   c	                ó$  • US:X  aj  [        [        [        U R                  U R                  U R
                  (       a  U R
                  S   R                  OS5      5      U R                  5       S9$ [        UUUUUUUUS9n	U	R                  U 5      $ )a:  Return str()able representation of this exception info.

:param bool showlocals:
    Show locals per traceback entry.
    Ignored if ``style=="native"``.

:param str style:
    long|short|line|no|native|value traceback style.

:param bool abspath:
    If paths should be changed to absolute or left unchanged.

:param tbfilter:
    A filter for traceback entries.

    * If false, don't hide any entries.
    * If true, hide internal entries and entries that contain a local
      variable ``__tracebackhide__ = True``.
    * If a callable, delegates the filtering to the callable.

    Ignored if ``style`` is ``"native"``.

:param bool funcargs:
    Show fixtures ("funcargs" for legacy purposes) per traceback entry.

:param bool truncate_locals:
    With ``showlocals==True``, make sure locals can be safely represented as strings.

:param bool truncate_args:
    With ``showargs==True``, make sure args can be safely represented as strings.

:param bool chain:
    If chained exceptions in Python 3 should be shown.

.. versionchanged:: 3.9

    Added the ``chain`` parameter.
r2   r   N©ÚreprtracebackÚ	reprcrash)Ú
showlocalsÚstyleÚabspathÚtbfilterÚfuncargsÚtruncate_localsÚtruncate_argsÚchain)
ÚReprExceptionInfoÚReprTracebackNativer   rc  r3   r_  r±   r¤  ÚFormattedExcinfoÚrepr_excinfo)
r<   rª  r«  r¬  r­  r®  r¯  r°  r±  Úfmts
             r>   ÚgetreprÚExceptionInfo.getrepr¶  s—   € ðb �HÓÜ$Ü1Ü$ØŸ	™	ØŸ
™
Ø7;·~·~˜Ÿ™ qÑ)×3Ò3È4óóð ×,Ñ,Ó.ñ	ð 	ô Ø!ØØØØØ+Ø'Øñ	
ˆð ×Ñ Ó%Ð%rA   c                óž   • Sn[        U R                  5      nSU< SU< 3nX:X  a  US-  n[        R                  " X5      (       d   U5       eg)zÍCheck whether the regular expression `regexp` matches the string
representation of the exception using :func:`python:re.search`.

If it matches `True` is returned, otherwise an `AssertionError` is raised.
Tz/Regex pattern did not match.
  Expected regex: z
  Actual message: z*
 Did you mean to `re.escape()` the regex?)rP  r3   ÚreÚsearch)r<   Úregexprñ   r3   rk  s        r>   ÚmatchÚExceptionInfo.matchÿ  se   € ð !ÐÜ# D§J¡JÓ/ˆð!Ø!'¡
ð +!Ø!&¡	ð+ð 	ð
 ‹?ØÐ@Ñ@ˆCÜ�yŠy˜×'Ñ'Ð,¨Ó,Ð'àrA   c           	     ó.  • Ub  XT:”  a  gUR                    H|  n[        U[        5      (       a  U R                  XbX4US-   5      (       a    gUb  XT:w  a  M?  [        Xb5      (       d  MQ  Ub(  [	        U5      n[
        R                  " X75      (       d  M|    g   g)zFReturn `True` if a `BaseExceptionGroup` contains a matching exception.FrL   T)rŽ  r  r-   Ú_group_containsrP  rº  r»  )r<   Ú	exc_groupÚexpected_exceptionr½  Útarget_depthÚcurrent_depthrM  r3   s           r>   rÀ  ÚExceptionInfo._group_contains  s›   € ð Ñ$¨=Ó+GàØ×'Ô'ˆCÜ˜#Ô1×2Ñ2Ø×'Ñ'Ø¨UÀ-ÐRSÑBS÷ñ ñ  ØÑ(¨}Ó/LáÜ˜c×6Ñ6ÙØÑ Ü+¨CÓ0�Ü—y’y ×.Ñ.ÙÙñ (ð  rA   )r½  Údepthc               ó°   • Sn[        U R                  [        5      (       d   U5       eSnUb  US:¼  d   U5       eU R                  U R                  XU5      $ )aÝ  Check whether a captured exception group contains a matching exception.

:param Type[BaseException] | Tuple[Type[BaseException]] expected_exception:
    The expected exception type, or a tuple if one of multiple possible
    exception types are expected.

:param str | re.Pattern[str] | None match:
    If specified, a string containing a regular expression,
    or a regular expression object, that is tested against the string
    representation of the exception and its `PEP-678 <https://peps.python.org/pep-0678/>` `__notes__`
    using :func:`re.search`.

    To match a literal string that may contain :ref:`special characters
    <re-syntax>`, the pattern can first be escaped with :func:`re.escape`.

:param Optional[int] depth:
    If `None`, will search for a matching exception at any nesting depth.
    If >= 1, will only match an exception if it's at the specified depth (depth = 1 being
    the exceptions contained within the topmost exception group).

.. versionadded:: 8.0

.. warning::
   This helper makes it easy to check for the presence of specific exceptions,
   but it is very bad for checking that the group does *not* contain
   *any other exceptions*.
   You should instead consider using :class:`pytest.RaisesGroup`

z=Captured exception is not an instance of `BaseExceptionGroup`z!`depth` must be >= 1 if specifiedrL   )r  r3   r-   rÀ  )r<   rÂ  r½  rÆ  rk  s        r>   Úgroup_containsÚExceptionInfo.group_contains0  s]   € ðH NˆÜ˜$Ÿ*™*Ô&8×9Ñ9Ð>¸3Ó>Ð9Ø1ˆØ‘ 5¨A£:Ð3°Ó3Ð.Ø×#Ñ# D§J¡JÐ0BÈ5ÓQÐQrA   )rW  rX  rZ  )rV   N)
rô   rV  r^  rs   r_  rY  r\  ry   rm   rn   r;   )re  rQ  rf  ú
str | Nonerm   úExceptionInfo[E])rg  ú tuple[type[E], E, TracebackType]rf  rÊ  rm   rË  )rf  rÊ  rm   úExceptionInfo[BaseException])rm   rË  )rg  rÌ  rm   rn   )rm   ztype[E])rm   rQ  )rm   r   rr   )rm   r
  )r3   r
  rm   rn   rx   )r–  ry   rm   rs   )rM  ÚEXCEPTION_OR_MORErm   ry   )rm   úReprFileLocation | None)Fr.   FTFTTT)rª  ry   r«  ÚTracebackStyler¬  ry   r­  z:bool | Callable[[ExceptionInfo[BaseException]], Traceback]r®  ry   r¯  ry   r°  ry   r±  ry   rm   z&ReprExceptionInfo | ExceptionChainRepr)r¼  zstr | re.Pattern[str]rm   zLiteral[True]rK   )rÁ  r”  rÂ  rÎ  r½  ústr | re.Pattern[str] | NonerÃ  r  rÄ  rq   rm   ry   )rÂ  rÎ  r½  rÑ  rÆ  r  rm   ry   )rz   r{   r|   r}   r~   rU  Ú__annotations__r?   r€   rh  rd  rr  ru  ry  r‚   rc  r3   r  r‚  r_  ÚsetterrÚ   rš  r�  r¤  r·  r½  rÀ  rÈ  rƒ   r„   rA   r>   r2  r2  î  s¦  ‡ ñ Uà#<Ð˜Ó<à5Ó5ØƒOØ Ó ð
 Ø&*ð	$ð  ñ$à8ð$ð ð$ð $ð	$ð ð$ð 
ö$ð ð  $ð5ð
 ð5ð ð5ð 
ô5ó ð5ð: ð  $ð9à2ð9ð ð9ð 
ô	9ó ð9ð  õ?ó ð?ð& ó)ó ð)ô!ð
 ó ó ð ð ó ó ð ð ó ó ð ð ó"ó ð"ð óó ðð ×Ñó ó ð ôgö
ôB+ô	ð !Ø &ØØOSØØ $Ø"ØðG&àðG&ð ðG&ð ð	G&ð
 MðG&ð ðG&ð ðG&ð ðG&ð ðG&ð 
0õG&ôRð0 $(Øðà4ðð .ðð ,ð	ð
 !ðð ðð 
õðD /3Ø ñ(Rà-ð(Rð ,ð	(Rð
 ð(Rð 
÷(Rð (RrA   r2  r   ÚTracebackFilterc                  óÄ  • \ rS rSr% SrSrS\S'   SrS\S'   SrS	\S
'   Sr	S\S'   Sr
S	\S'   SrS\S'   SrS	\S'   SrS	\S'   SrS	\S'   SrS	\S'   \R"                  " \SSS9rS\S'   S'S jrS(S jrS)S jr      S*               S+S jjr              S,S jr  S-       S.S jjrS/S  jr S0     S1S! jjrS2S" jrS3S# jr    S4S$ jrS5S% jrS&r g)6r´  ia  z>Presenting information about failing Functions and Generators.rÙ   r   Úflow_markerrQ  Úfail_markerFry   rª  r.   rÐ  r«  Tr¬  rÔ  r­  r®  r¯  r°  r±  )Údefault_factoryÚinitr¤   zdict[str | Path, ast.AST]rê   c                ó(  •  [        UR                  [        U5      S-
  5      5      nS[        U5      [        UR                  5       5      -
  -   $ ! [         a    e [         a-     [        US   5      n NM! [         a    e [         a      gf = ff = f)NrL   r   r   é   )rs   rš   rŠ  rý   rþ   rü   )r<   rc   Úss      r>   Ú
_getindentÚFormattedExcinfo._getindentu  s�   € ð
	Ü�F×'Ñ'¬¨F«°a©Ó8Ó9ˆAð ”C˜“FœS §¡£›_Ñ,Ñ-Ð-øô !ó 	ØÜó 	ðÜ˜˜r™
“O’øÜ$ó ØÜ ó Úðúð	ús)   ‚&A ÁBÁ%A5Á5BÂ	BÂBÂBc                ób   • UR                  U R                  5      nUb  UR                  5       nU$ r;   )rî   rê   Údeindent)r<   r=  rc   s      r>   Ú_getentrysourceÚ FormattedExcinfo._getentrysource„  s+   € Ø—‘ §¡Ó/ˆØÑØ—_‘_Ó&ˆFØˆrA   c                óö   • U R                   (       ah  / nUR                  R                  SS9 H>  u  p4U R                  (       a  [	        U5      nO
[	        US S9nUR                  X545        M@     [        U5      $ g )NT)ri   )Úmaxsize)r®  r‰   rk   r°  r%   r§   ÚReprFuncArgs)r<   r=  ÚargsÚargnameÚargvalueÚstr_reprs         r>   Ú	repr_argsÚFormattedExcinfo.repr_argsŠ  sl   € Ø�=�=ØˆDØ%*§[¡[×%8Ñ%8¸TÐ%8Ó%BÑ!�Ø×%×%Ü'¨Ó1‘Hä'¨¸$Ñ?�HØ—‘˜WÐ/Ö0ñ &Cô   Ó%Ð%ØrA   Nc                ó”  • / nUb  US:  a  U[        U5      -  nUb  U[        UR                  5      :¼  d  US:  a  [        S5      nSnSn	U(       az  UR                  X‘R                  U   R	                  5       -   5        UR                  U R                  UR                  U   UR                  U   R	                  5       UUUUS95        OÀUR                  SU  H  n
UR                  Xš-   5        M     UR                  U R                  S-   UR                  U   -   5        UR                  U R                  UR                  U   UR                  U   UUUUS95        UR                  US-   S  H  n
UR                  Xš-   5        M     Ub9  U(       a  SOU R                  U5      nUR                  U R                  X;S	S
95        U$ )z,Return formatted and marked up source lines.Nr   rú   ú    )Úraw_liner0   r�   rÍ   rÇ   rÊ   ú   rL   rÛ  T)ÚindentÚmarkall)rŠ  r˜  r!   r§   ÚstripÚextendÚget_highlight_arrows_for_lineÚ	raw_linesrÖ  rÝ  Úget_exconly)r<   rc   Ú
line_indexrô   r/   Úend_line_indexrÇ   rÊ   r˜  Úspace_prefixr0   rð  s               r>   Ú
get_sourceÚFormattedExcinfo.get_source–  s¹  € ð ˆØÑ *¨q£.Øœ#˜f›+Ñ%ˆJØ‰>˜Z¬3¨v¯|©|Ó+<Ó<À
ÈQÃô ˜E“]ˆFØˆJØˆÞØ�L‰L˜¯©°ZÑ(@×(FÑ(FÓ(HÑHÔIØ�L‰LØ×2Ñ2Ø#×-Ñ-¨jÑ9ØŸ™ jÑ1×7Ñ7Ó9Ø%Ø-ØØ'ð 3ð õ	ð Ÿ™ [ jÓ1�Ø—‘˜\Ñ0Ö1ñ 2à�L‰L˜×)Ñ)¨EÑ1°F·L±LÀÑ4LÑLÔMØ�L‰LØ×2Ñ2Ø#×-Ñ-¨jÑ9ØŸ™ jÑ1Ø%Ø-ØØ'ð 3ð ô	ð Ÿ™ Z°!¡^Ð%5Ó6�Ø—‘˜\Ñ0Ö1ñ 7àÑÞ‘Q T§_¡_°VÓ%<ˆFØ�L‰L˜×)Ñ)¨'È$Ð)ÐOÔPØˆrA   c                óô   • X4:w  a  / $ Ub  Uc  / $ [        U5      [        U5      -
  n[        X%5      n[        X&5      n	X˜-
  n
U
[        UR                  5       5      :¼  a  / $ SnUSX‡-
  S-   -  -  nUSU
-  -  nU/$ )z¦Return characters highlighting a source line.

Example with colno and end_colno pointing to the bar expression:
           "foo() + bar()"
returns    "        ^^^^^"
rí  r‰  rL   Ú^)rŠ  Ú _byte_offset_to_character_offsetrò  )r<   r0   rî  r�   rÍ   rÇ   rÊ   Únum_stripped_charsÚstart_char_offsetÚend_char_offsetÚ
num_caretsÚ
highlightss               r>   rô  Ú.FormattedExcinfo.get_highlight_arrows_for_lineË  sœ   € ð ÓàˆIØ‰=˜IÑ-àˆIä  ›]¬S°«YÑ6Ðä<¸XÓMÐÜ:¸8ÓOˆØ$Ñ8ˆ
ð œ˜TŸZ™Z›\Ó*Ó*ØˆIàˆ
Ø�cÐ.ÑCÀaÑGÑHÑHˆ
Ø�c˜JÑ&Ñ&ˆ
Øˆ|ÐrA   c                óÂ   • / nSU-  nUR                  SS9R                  S5      nU R                  USS  -   nU H!  nUR                  Xx-   5        U(       a  M  UnM#     U$ )Nr‰  Tr¡  rû   rL   )rš  Úsplitr×  r§   )	r<   rô   rð  rñ  r˜  Ú	indentstrÚexlinesÚ
failindentr0   s	            r>   rö  ÚFormattedExcinfo.get_exconlyð  sm   € ð ˆØ˜&‘Lˆ	à—/‘/¨4�/Ð0×6Ñ6°tÓ<ˆØ×%Ñ%¨	°!°"¨Ñ5ˆ
ÛˆDØ�L‰L˜Ñ*Ô+ß�7Ø&’
ñ ð ˆrA   c                ól  • U R                   (       až  / nU Vs/ s H  o3S   S:w  d  M  UPM     nnUR                  5         U H_  nX   nUS:X  a  UR                  S5        M   U R                  (       a  [	        U5      nO[        U5      nUR                  US SU 35        Ma     [        U5      $ g s  snf )Nr   Ú@Ú__builtins__z__builtins__ = <builtins>z<10ú = )rª  Úsortr§   r¯  r%   r#   Ú
ReprLocals)r<   rá   r˜  r?  ÚkeysrS   r3   ré  s           r>   Úrepr_localsÚFormattedExcinfo.repr_locals  s¥   € Ø�?�?ØˆEÙ#)Ó;¢6˜C°©V°s©]—C¡6ˆDÐ;Ø�I‰IŒKÛ�Ø™�Ø˜>Ó)Ø—L‘LÐ!<Ö=ð
 ×+×+Ü#+¨E£?™ä#-¨eÓ#4˜à—L‘L D¨ :¨S°°
Ð!;Ö<ñ ô$ ˜eÓ$Ð$Øùò+ <s
   ˜B1¨B1c           
     óÔ  • / nUb  UR                   b  UR                   OU R                  nUS;   Ga4  UGb0  U R                  U5      nUc  [        S5      nSnSu  pxn	O0UR                  nUR
                  nUR                  nUR                  n	US:H  n
U
(       d  U R                  U5      OS nU R                  UUUU
UUU	S9nUR                  U5        U
(       a  SUR                   3nOU=(       a    UR                  =(       d    SnUR                  nU R                  U5      n[        XñR                   S	-   U5      nU R#                  UR$                  5      n['        X;UUU5      $ US
:X  aI  U(       a3  UR                  [)        UR*                  5      R-                  S5      5        ['        US S S U5      $ U(       a  UR                  U R/                  USS95        ['        US S S U5      $ )N)r/   r.   rú   r   )NNNr/   )rc   r÷  rô   r/   rø  rÇ   rÊ   zin rV   rL   r3   rû   rÛ  ©rð  )r²   r«  rá  r!   rÕ   rÃ   rÇ   rÊ   rê  rú  ró  rS   r‚  r[   Ú	_makepathr£  r�   r  rá   Ú	ReprEntryrs   r3   r  rö  )r<   r=  rô   r˜  r«  rc   r÷  rø  rÇ   rÊ   r/   ÚreprargsrÜ  rK  Ú
entry_pathr[   ÚreprfilelocÚ
localsreprs                     r>   Úrepr_traceback_entryÚ%FormattedExcinfo.repr_traceback_entry  sÐ  € ð
 ˆð Ñ  U×%6Ñ%6Ñ%Bð ×Òà—‘ð 	ð
 Ð%Ô%¨%Ò*;Ø×)Ñ)¨%Ó0ˆFØ‰~Ü ›�Ø�
Ø3CÑ0�¡yà"Ÿ]™]�
Ø!&×!:Ñ!:�ØŸ™�Ø!ŸO™O�	Ø˜WÑ$ˆEÞ49�t—~‘~ eÔ,¸tˆHØ—‘ØØ%ØØØ-ØØ#ð  ð ˆAð �L‰L˜ŒOÞØ §
¡
˜|Ð,‘à"×7 w×'7Ñ'7×>¸B�ØŸ™ˆJØ—>‘> *Ó-ˆDÜ*¨4·±ÀÑ1AÀ7ÓKˆKØ×)Ñ)¨%¯,©,Ó7ˆJÜ˜U¨j¸+ÀuÓMÐMØ�gÓÞØ—‘œS §¡Ó/×5Ñ5°dÓ;Ô<Ü˜U D¨$°°eÓ<Ð<æØ—‘˜T×-Ñ-¨g¸aÐ-Ð@ÔAÜ˜U D¨$°°eÓ<Ð<rA   c                ó   • U R                   (       dX  [        U[        5      (       aC   [        [        R                  " 5       U5      n[        U5      [        [        U5      5      :  a  U$ [        U5      $ ! [
         a    [        U5      s $ f = fr;   )r¬  r  r   r)   ÚcwdrY   rs   rŠ  )r<   r[   Únps      r>   r  ÚFormattedExcinfo._makepathO  sl   € Ø�|�|¤
¨4´× 6Ñ 6ð!Ü ¤§¢£¨TÓ2�ô �2‹wœœS ›Y›Ó'Ø�	Ü�4‹yÐøô	 ó !Ü˜4“yÒ ð!ús   ¨A5 Á5BÂBc                óú  • [        U R                  U5      n[        UR                  [        5      (       a  U R                  U5      u  p#OS nU(       d,  Uc  SnU R                  S U5      /n[        XCU R                  S9$ US   nU R                  S:X  a'  U R                  XQ5      /n[        US U R                  S9$ U Vs/ s H  nU R                  XeU:X  a  UOS 5      PM     nn[        XCU R                  S9$ s  snf )NúXAll traceback entries are hidden. Pass `--full-trace` to see hidden and internal frames.)r«  r   r3   )	Úfilter_excinfo_tracebackr­  r  r3   ÚRecursionErrorÚ_truncate_recursive_tracebackr  ÚReprTracebackr«  )r<   rô   r_  Ú	extralineÚentriesÚlastr=  s          r>   Úrepr_tracebackÚFormattedExcinfo.repr_tracebackY  sù   € Ü,¨T¯]©]¸GÓDˆ	ä�g—m‘m¤^×4Ñ4Ø#'×#EÑ#EÀiÓ#PÑ ˆI�yàˆIæØÑ Øv�	Ø×0Ñ0°°wÓ?Ð@ˆGÜ  ¸4¿:¹:ÑFÐFà˜‰}ˆØ�:‰:˜Ó Ø×0Ñ0°Ó?Ð@ˆGÜ  ¨$°d·j±jÑAÐAñ #ó
â"�ð ×%Ñ% eÀ»©WÈ4ÖPÙ"ð 	ð 
ô ˜W°t·z±zÑBÐBùò	
s   Â?#C8c                óô   •  UR                  5       nUb  SnUSUS-    nX4$ Sn X4$ ! [         aE  nSnS[        U5      R                   SU< SU S[	        U5       S	3	nUSU X* S -   n SnAX4$ SnAff = f)
a  Truncate the given recursive traceback trying to find the starting
point of the recursion.

The detection is done by going through each traceback entry and
finding the point in which the locals of the frame are equal to the
locals of a previous frame (see ``recursionindex()``).

Handle the situation where the recursion process might raise an
exception (for example comparing numpy arrays using equality raises a
TypeError), in which case we do our best to warn the user of the
error and show a limited traceback.
Nz/!!! Recursion detected (same locals & position)rL   é
   z§!!! Recursion error detected, but an error occurred locating the origin of recursion.
  The following exception happened when comparing locals in the stack frame:
    ú: z
  Displaying first and last z stack frames out of Ú.)rA  rò   rc  rz   rŠ  )r<   r_  rA  r(  r�  Ú
max_framess         r>   r&  Ú.FormattedExcinfo._truncate_recursive_tracebackr  sÏ   € ð	!Ø&×5Ñ5Ó7ˆNð Ñ)ØM�	Ø%Ð&:¨¸Ñ(:Ð;�	ð Ð#Ð#ð !‘	àÐ#Ð#øô% ó 
	IØˆJðä˜A“w×'Ñ'Ð(¨¨1©%ð 0/Ø/9¨lÐ:OÔPSÐT]ÓP^ÐO_Ð_`ðbð ð " + :Ð.°¸;¸<Ð1HÑHŒIð Ð#Ð#ûð%
	Iús   ‚( ¨
A7²9A2Á2A7c                ó  • / nUR                   nUnS n[        5       nUGbÐ  [        U5      U;  GaÀ  UR                  [        U5      5        U(       a¥  [	        U[
        5      (       an  [        U R                  U5      n[        [        [        UR                   5      UR                   U(       a  US   R                  OS 5      5      nU(       d  SUl        OU R                  U5      nUR                  5       n	O![        [        [        U5      US 5      5      nS n	X(X•4/-  nUR                  bH  U R                   (       a7  UR                  nUR"                  (       a  [$        R'                  U5      OS nSnOhUR(                  bY  UR*                  (       dH  U R                   (       a7  UR(                  nUR"                  (       a  [$        R'                  U5      OS nSnOS nUb  [        U5      U;  a  GMÀ  UR-                  5         [/        U5      $ )Nr   r#  zDThe above exception was the direct cause of the following exception:zCDuring handling of the above exception, another exception occurred:)r3   Úsetr8  Úaddr  r-   r$  r­  r³  r   rc  r±   r(  r+  r¤  Ú	__cause__r±  rb  r2  rh  Ú__context__Ú__suppress_context__ÚreverseÚExceptionChainRepr)
r<   rô   Ú
repr_chainr�  Úexcinfo_ÚdescrÚseenr_  r¨  r©  s
             r>   rµ  ÚFormattedExcinfo.repr_excinfo—  s¥  € ØVXˆ
Ø")§-¡-ˆØ8?ˆØˆÜ›ˆØŠm¤ 1£¨TÔ 1Ø�H‰H”R˜“UŒOæô
 ˜aÔ!3×4Ñ4ä 8¸¿¹ÈÓ P�IÜ$7Ü(Ü  §¡Ó/Ø#ŸM™MÞ6?˜I a™L×2Ò2ÀTóó%�Mö %ðUð &Ô/øð %)×$7Ñ$7¸Ó$A�MØ$×2Ñ2Ó4‘	ô !4Ô4DÄTÈ!ÃWÈaÐQUÓ4VÓ W�Ø �	Ø¨9Ð<Ð=Ñ=ˆJà�{‰{Ñ&¨4¯:¯:Ø—K‘K�Ø>?¿o¿oœ=×7Ñ7¸Ô:ÐSW�Ø^‘à—‘Ñ)°!×2H×2HÈTÏZÏZà—M‘M�Ø>?¿o¿oœ=×7Ñ7¸Ô:ÐSW�Ø]‘à�ð[ ‰m¤ 1£¨TÖ 1ð\ 	×ÑÔÜ! *Ó-Ð-rA   r„   )rc   r!   rm   rq   )r=  r®   rm   rv   )r=  r®   rm   úReprFuncArgs | None)r   NFNNN)rc   rv   r÷  rq   rô   r  r/   ry   rø  r  rÇ   r  rÊ   r  rm   ú	list[str])r0   rs   rî  rs   r�   r  rÍ   r  rÇ   r  rÊ   r  rm   rA  )rÛ  F)rô   rÍ  rð  rq   rñ  ry   rm   rA  )rá   zMapping[str, object]rm   úReprLocals | Noner;   )r=  zTracebackEntry | Nonerô   r  rm   r  )r[   ru   rm   rs   )rô   rÍ  rm   r'  )r_  r
  rm   ztuple[Traceback, str | None])rô   rÍ  rm   r:  )!rz   r{   r|   r}   r~   rÖ  rÒ  r×  rª  r«  r¬  r­  r®  r¯  r°  r±  ÚdataclassesÚfieldr:  rê   rÝ  rá  rê  rú  rô  rö  r  r  r  r+  r&  rµ  rƒ   r„   rA   r>   r´  r´  a  sÐ  ‡ áHð  €K�ÓØ€K�Óà€J�ÓØ"€Eˆ>Ó"Ø€GˆTÓØ $€HˆoÓ$Ø€HˆdÓØ €O�TÓ Ø€M�4ÓØ€Eˆ4ÓØ*5×*;Ò*;Ø 5¨uñ+€HÐ'ó ô.ôô
ð Ø7;ØØ%)Ø Ø $ð3àð3ð ð3ð 5ð	3ð
 ð3ð #ð3ð ð3ð ð3ð 
õ3ðj#àð#ð ð#ð ð	#ð
 ð#ð ð#ð ð#ð 
ô#ðP Øð	à-ðð ðð ð	ð
 
õô"ð: 8<ð2=à$ð2=ð 5ð2=ð 
õ	2=ôhôCð2#$Ø"ð#$à	%ô#$÷J5.rA   r´  F)Úeqc                  ó2   • \ rS rSrSS jrSS jrSS jrSrg)	ÚTerminalRepriÏ  c                ó†   • [        5       n[        US9nU R                  U5        UR                  5       R	                  5       $ )N)Úfile)r
   r"   Ú
toterminalÚgetvaluerò  )r<   ÚioÚtws      r>   rÿ   ÚTerminalRepr.__str__Ñ  s6   € ô ‹ZˆÜ Ñ$ˆØ�‰˜ÔØ�{‰{‹}×"Ñ"Ó$Ð$rA   c                ó<   • SU R                    S[        U 5      S S3$ )Nrˆ  z instance at Ú0xrÙ   )r  r8  rN   s    r>   rÚ   ÚTerminalRepr.__repr__Ù  s"   € Ø�4—>‘>Ð" -´°4³¸¨}¸AÐ>Ð>rA   c                ó   • [        5       er;   )ÚNotImplementedError©r<   rM  s     r>   rJ  ÚTerminalRepr.toterminalÜ  s   € Ü!Ó#Ð#rA   r„   Nrr   ©rM  r"   rm   rn   )rz   r{   r|   r}   rÿ   rÚ   rJ  rƒ   r„   rA   r>   rG  rG  Ï  s   † ô%ô?÷$rA   rG  c                  ón   • \ rS rSr% S\S'   S\S'   \R                  " S\S9rS\S	'   SSS
 jjr	SS jr
Srg)ÚExceptionRepriá  r'  r¨  rÏ  r©  F)rÙ  rØ  zlist[tuple[str, str, str]]Úsectionsc                ó>   • U R                   R                  XU45        g r;   )rY  r§   )r<   rS   ÚcontentÚseps       r>   Ú
addsectionÚExceptionRepr.addsectionê  s   € Ø�‰×Ñ˜d¨SÐ1Õ2rA   c                ót   • U R                    H(  u  p#nUR                  XB5        UR                  U5        M*     g r;   )rY  r\  r0   )r<   rM  rS   r[  r\  s        r>   rJ  ÚExceptionRepr.toterminalí  s-   € Ø"&§-¤-ÑˆD˜3Ø�F‰F�3ÔØ�G‰G�GÖò #0rA   r„   N)Ú-)rS   rs   r[  rs   r\  rs   rm   rn   rV  )rz   r{   r|   r}   rÒ  rC  rD  ÚlistrY  r]  rJ  rƒ   r„   rA   r>   rX  rX  á  s7   ‡ ð !Ó Ø&Ó&Ø+6×+<Ò+<Ø Dñ,€HÐ(ó ö3÷rA   rX  c                  óP   ^ • \ rS rSr% S\S'       SU 4S jjrSU 4S jjrSrU =r$ )	r:  ió  úCSequence[tuple[ReprTraceback, ReprFileLocation | None, str | None]]r±  c                óF   >• [         TU ]  US   S   US   S   S9  Xl        g )Nr   r   rL   r§  )r  r?   r±  )r<   r±  r  s     €r>   r?   ÚExceptionChainRepr.__init__÷  s4   ø€ ô 	‰ÑØ ™) A™,Ø˜B‘i ‘lð 	ñ 	
ð �
rA   c                óÊ   >• U R                    HC  nUS   R                  U5        US   c  M  UR                  S5        UR                  US   SS9  ME     [        TU ]  U5        g )Nr   rp  rV   T)Úyellow)r±  rJ  r0   r  )r<   rM  Úelementr  s      €r>   rJ  ÚExceptionChainRepr.toterminal  s[   ø€ Ø—z”zˆGØ�A‰J×!Ñ! "Ô%Ø�q‰zÓ%Ø—‘˜”Ø—‘˜ ™
¨4�Ó0ñ	 "ô
 	‰Ñ˜2ÕrA   )r±  )r±  rd  rm   rn   rV  )	rz   r{   r|   r}   rÒ  r?   rJ  rƒ   rC  rD  s   @r>   r:  r:  ó  s*   ø‡ àNÓNð
àRð
ð 
÷
÷õ rA   r:  c                  óB   ^ • \ rS rSr% S\S'   S\S'   SU 4S jjrSrU =r$ )	r²  i  r'  r¨  rÏ  r©  c                óZ   >• U R                   R                  U5        [        TU ]  U5        g r;   )r¨  rJ  r  )r<   rM  r  s     €r>   rJ  ÚReprExceptionInfo.toterminal  s$   ø€ Ø×Ñ×%Ñ% bÔ)Ü‰Ñ˜2ÕrA   r„   rV  )rz   r{   r|   r}   rÒ  rJ  rƒ   rC  rD  s   @r>   r²  r²    s   ø‡ à Ó Ø&Ó&÷õ rA   r²  c                  óL   • \ rS rSr% S\S'   S\S'   S\S'   SrS	\S
'   SS jrSrg)r'  i  z%Sequence[ReprEntry | ReprEntryNative]ÚreprentriesrÊ  r(  rÐ  r«  z_ r   Úentrysepc                óü  • [        U R                  5       H¶  u  p#UR                  S:X  a  UR                  S5        UR	                  U5        U[        U R                  5      S-
  :  d  MU  U R                  US-      nUR                  S:X  d$  UR                  S:X  d  M‰  UR                  S:X  d  M›  UR                  U R                  5        M¸     U R                  (       a  UR                  U R                  5        g g )Nr.   rV   rL   r/   )	r7  ro  r«  r0   rJ  rŠ  r\  rp  r(  )r<   rM  r<  r=  Ú
next_entrys        r>   rJ  ÚReprTraceback.toterminal  s½   € ä! $×"2Ñ"2Ö3‰HˆAØ�{‰{˜fÓ$Ø—‘˜”Ø×Ñ˜RÔ Ø”3�t×'Ñ'Ó(¨1Ñ,Õ,Ø!×-Ñ-¨a°!©eÑ4�
Ø—;‘; &Ó(Ø—K‘K 7Õ*¨z×/?Ñ/?À6Õ/Ià—F‘F˜4Ÿ=™=Ö)ñ 4ð �>�>Ø�G‰G�D—N‘NÕ#ð rA   r„   NrV  )rz   r{   r|   r}   rÒ  rp  rJ  rƒ   r„   rA   r>   r'  r'    s#   ‡ à6Ó6ØÓØÓà€HˆhÓ÷$rA   r'  c                  ó   • \ rS rSrSS jrSrg)r³  i/  c                óB   • [        U5      /U l        S U l        SU l        g )Nr2   )ÚReprEntryNativero  r(  r«  )r<   Útbliness     r>   r?   ÚReprTracebackNative.__init__0  s    € Ü+¨GÓ4Ð5ˆÔØˆŒØˆ�
rA   )r(  ro  r«  N)rw  úSequence[str]rm   rn   )rz   r{   r|   r}   r?   rƒ   r„   rA   r>   r³  r³  /  s   † ÷rA   r³  c                  ó8   • \ rS rSr% S\S'   SrS\S'   S
S jrSrg	)rv  i6  ry  r˜  r2   zClassVar[TracebackStyle]r«  c                óX   • UR                  SR                  U R                  5      5        g )NrV   )ÚwriterL  r˜  rT  s     r>   rJ  ÚReprEntryNative.toterminal<  s   € Ø
�‰�—‘˜Ÿ™Ó$Õ%rA   r„   NrV  )rz   r{   r|   r}   rÒ  r«  rJ  rƒ   r„   rA   r>   rv  rv  6  s   ‡ àÓà&.€EÐ#Ó.÷&rA   rv  c                  óf   • \ rS rSr% S\S'   S\S'   S\S'   S\S	'   S
\S'   SS jrSS jrSS jrSrg)r  i@  ry  r˜  r@  ÚreprfuncargsrB  Ú
reprlocalsrÏ  r  rÐ  r«  c                óL  • U R                   (       d  gU R                  S:X  a6  U R                    H%  nUR                  U5        UR                  S5        M'     g[        R                   S3n[        U5      n/ n/ n/ n[        U R                   5       Hd  u  p‚UR                  U5      n	U	(       a   UR                  U R                   US 5          O+UR                  USU 5        UR                  X$S 5        Mf     UR                  Xe5        U H  nUR                  USSS9  M     g)a£  Write the source code portions of a list of traceback entries with syntax highlighting.

Usually entries are lines like these:

    "     x = 1"
    ">    assert x == 2"
    "E    assert 1 == 2"

This function takes care of rendering the "source" portions of it (the lines without
the "E" prefix) using syntax highlighting, taking care to not highlighting the ">"
character, as doing so might break line continuations.
Nr3   rû   rï  T©ÚboldÚred)r˜  r«  r|  r´  r×  rŠ  r7  rm  ró  r§   Ú_write_sourcer0   )
r<   rM  r0   r×  Úindent_sizeÚindentsÚsource_linesÚfailure_linesÚindexÚis_failure_lines
             r>   Ú_write_entry_linesÚReprEntry._write_entry_linesH  s	  € ð �z�zØà�:‰:˜Ó ð Ÿ
œ
�Ø—‘˜”Ø—‘˜–ñ #ð ô
 *×5Ñ5Ð6°cÐ:ˆÜ˜+Ó&ˆØˆØ"$ˆØ#%ˆÜ$ T§Z¡ZÖ0‰KˆEØ"Ÿo™o¨kÓ:ˆOÞà×$Ñ$ T§Z¡Z°°Ð%7Ô8Ùà—‘˜t L [Ð1Ô2Ø×#Ñ# D¨Ð$6Ö7ñ 1ð 	×Ñ˜Ô/ó "ˆDØ�G‰G�D˜t¨ˆGÓ.ò "rA   c                óˆ  • U R                   S:X  ai  U R                  (       a  U R                  R                  U5        U R                  U5        U R                  (       a  U R                  R                  USS9  g U R
                  (       a  U R
                  R                  U5        U R                  U5        U R                  (       a,  UR                  S5        U R                  R                  U5        U R                  (       a>  U R                  (       a  UR                  S5        U R                  R                  U5        g g )Nr/   z        r  rV   )r«  r  rJ  rŒ  r€  r  r0   r˜  rT  s     r>   rJ  ÚReprEntry.toterminaly  sÝ   € Ø�:‰:˜Ó Ø××Ø× Ñ ×+Ñ+¨BÔ/Ø×#Ñ# BÔ'Ø��Ø—‘×*Ñ*¨2°gÐ*Ñ>Øà××Ø×Ñ×(Ñ(¨Ô,à×Ñ Ô#à�?�?Ø�G‰G�BŒKØ�O‰O×&Ñ& rÔ*Ø××Ø�z�zØ—‘˜”Ø×Ñ×'Ñ'¨Õ+ð rA   c                ó‚   • SR                  SR                  U R                  5      U R                  U R                  5      $ )Nz{}
{}
{}rû   )ÚformatrL  r˜  r€  r  rN   s    r>   rÿ   ÚReprEntry.__str__�  s3   € Ø×"Ñ"Ø�I‰I�d—j‘jÓ! 4§?¡?°D×4DÑ4Dó
ð 	
rA   r„   NrV  rr   )	rz   r{   r|   r}   rÒ  rŒ  rJ  rÿ   rƒ   r„   rA   r>   r  r  @  s0   ‡ àÓØ%Ó%Ø!Ó!Ø(Ó(ØÓô//ôb,÷,
rA   r  c                  óH   • \ rS rSr% S\S'   S\S'   S\S'   SS jrSS jrS	rg
)r£  i•  rs   r[   rq   r�   rK  c                ó8   • [        U R                  5      U l        g r;   )rs   r[   rN   s    r>   Ú__post_init__ÚReprFileLocation.__post_init__›  s   € Ü˜Ÿ	™	“Nˆ�	rA   c                óÌ   • U R                   nUR                  S5      nUS:w  a  US U nUR                  U R                  SSS9  UR	                  SU R
                   SU 35        g )Nrû   r   Tr‚  rØ   r/  )rK  Úfindr|  r[   r0   r�   )r<   rM  rk  r<  s       r>   rJ  ÚReprFileLocation.toterminalž  s_   € ð �l‰lˆØ�H‰H�T‹NˆØ�‹7Ø�b�q�'ˆCØ
�‰�—‘ ¨4ˆÑ0Ø
�‰�!�D—K‘K�=  3 %Ð(Õ)rA   )r[   N)rm   rn   rV  )rz   r{   r|   r}   rÒ  r•  rJ  rƒ   r„   rA   r>   r£  r£  •  s   ‡ à
ƒIØƒKØƒLô#÷*rA   r£  c                  ó.   • \ rS rSr% S\S'   SSS jjrSrg)	r  i©  ry  r˜  c                óP   • U R                    H  nUR                  X#-   5        M     g r;   )r˜  r0   )r<   rM  rð  r0   s       r>   rJ  ÚReprLocals.toterminal­  s   € Ø—J”JˆDØ�G‰G�F‘MÖ"ò rA   r„   N)rV   rV  ©rz   r{   r|   r}   rÒ  rJ  rƒ   r„   rA   r>   r  r  ©  s   ‡ àÓ÷#ñ #rA   r  c                  ó*   • \ rS rSr% S\S'   SS jrSrg)rå  i²  zSequence[tuple[str, object]]ræ  c                ód  • U R                   (       aŸ  SnU R                    Hc  u  p4U SU 3n[        U5      [        U5      -   S-   UR                  :”  a  U(       a  UR                  U5        UnMP  U(       a
  USU-   -  nMa  UnMe     U(       a  UR                  U5        UR                  S5        g g )NrV   r  rp  z, )ræ  rŠ  Ú	fullwidthr0   )r<   rM  Ú	linesofarrS   r3   Únss         r>   rJ  ÚReprFuncArgs.toterminal¶  s—   € Ø�9�9ØˆIØ#Ÿyœy‘�Ø�v˜S  Ð(�Ü�r“7œS ›^Ñ+¨aÑ/°"·,±,Ó>Þ ØŸ™ 	Ô*Ø "’Iæ Ø! T¨B¡YÑ.š	à$&š	ñ  )ö Ø—‘˜	Ô"Ø�G‰G�B�Kð rA   r„   NrV  r�  r„   rA   r>   rå  rå  ²  s   ‡ à
&Ó&÷rA   rå  c                óê  • [        U 5      n [        U S5      (       a  U R                  n  [        R	                  U 5      nUR                  UR                  4$ ! [
         a‘     [        R                  " U 5      =(       d    [        R                  " U 5      nO! [
         a      gf = fU=(       a    [        U5      =(       d    SnSnU(       a   [        U 5      u  pTO! [         a     Of = fX44s $ f = f)zŽReturn source location (path, lineno) for the given object.

If the source cannot be determined return ("", -1).

The line number is 0-based.
Úplace_as)rV   r   rV   r   )r&   Úhasattrr¥  r6   rD   Ú	TypeErrorÚinspectÚgetsourcefileÚgetfiler(   r   rY   r[   rO   )r=   r—   r4  r  r�   r_   s         r>   Úgetfslinenor«  É  sà   € ô ˜Ó
€CÜˆs�J×ÑØ�l‰lˆðÜ×!Ñ! #Ó&ˆð  �9‰9�d×&Ñ&Ð&Ð&øô ó ð	Ü×&Ò& sÓ+×C¬w¯ª¸sÓ/C‰BøÜó 	Úð	úð ×)œ bÓ)×0¨bˆØˆÞðÜ& s›O‘	��6øÜó Ùðúàˆ~ÒðúsY   ªA Á
C2Á"3BÂC2Â
B$Â C2Â#B$Â$)C2ÃCÃC2Ã
C)Ã&C2Ã(C)Ã)C2Ã1C2c                ó\   • U R                  S5      n[        USU R                  SSS95      $ )z9Converts a byte based offset in a string to a code-point.zutf-8NÚreplace)Úerrors)ÚencoderŠ  Údecode)rs   ÚoffsetÚas_utf8s      r>   rþ  rþ  ë  s2   € à�j‰j˜Ó!€GÜˆw�w˜Ð×&Ñ& w°yÐ&ÐAÓBÐBrA   Úocz__init__.pyc                óø   • U R                   R                  R                  R                  nSU;   =(       a    SU;   nU(       a  g[	        U R
                  5      nUR                  n[        U;   a  g[        U;   a  gg)zðReturn True if a TracebackEntry instance should be included in tracebacks.

We hide traceback entries of:

* dynamically generated code (no code to show up for it);
* internal traceback from pytest or its internal libraries, py and pluggy.
rˆ  rÙ   FT)	r‰   r—   r9   rW   r   r[   r  Ú_PLUGGY_DIRÚ_PYTEST_DIR)r=  Úraw_filenameÚis_generatedrZ   r  s        r>   Úfilter_tracebackr¹  ý  sk   € ð —;‘;×#Ñ#×'Ñ'×3Ñ3€LØ˜,Ñ&×>¨3°,Ñ+>€LÞØô 	ˆU�Z‰ZÓ€Aà�i‰i€GÜ�gÓØÜ�gÓØàrA   c                óŽ   • [        U 5      (       a  U " U5      $ U (       a  UR                  R                  U5      $ UR                  $ )zHFilter the exception traceback in ``excinfo`` according to ``tbfilter``.)ró   r_  r3  )r­  rô   s     r>   r$  r$    s@   € ô �×ÑÙ˜Ó Ð Þ	Ø× Ñ ×'Ñ'¨Ó0Ð0à× Ñ Ð rA   )T)rM  rþ   rN  ry   rm   rs   )r=   ro   rm   ztuple[str | Path, int])r=  r®   rm   ry   )r­  rÔ  rô   rÍ  rm   r
  )dÚ
__future__r   ÚastÚcollections.abcr   r   r   r   rC  r¨  r   r	   rL  r
   r  Úpathlibr   rº  r  r_  r   r   r   r   Útypesr   r   r   Útypingr   r   r   r   r   r   r   r   r   r   ÚpluggyÚ_pytestÚ_pytest._code.sourcer   r   r    r!   Ú_pytest._ior"   Ú_pytest._io.safereprr#   r%   Ú_pytest.compatr&   Ú_pytest.deprecatedr'   Ú_pytest.pathlibr(   r)   r  Úexceptiongroupr-   rÐ  rc  rþ   ÚtuplerÎ  r6   r†   r®   rb  r
  rP  rQ  Ú	dataclassr2  ry   rÔ  rÒ  r´  rG  rX  r:  r²  r'  r³  rv  r  r£  r  rå  r«  rþ  Ú__file__r•  rµ  rS   Úparentr¶  r¹  r$  r„   rA   r>   Ú<module>rÎ     s°  ðæ "ã 
Ý $Ý $Ý #Ý $Û Û Ý Ý "Ý Û 	Ý Û 	Û 
Ý  Ý &Ý +Ý "Ý Ý Ý Ý Ý Ý Ý Ý Ý Ý Ý  Ý Ý ã ã Ý +Ý +Ý 6Ý 'Ý &Ý +Ý )Ý (Ý -Ý (Ý 'ð ×Ñ�gÓÝ1àÐQÑR€à˜Ñ'¨%°°]Ñ0CÀSÐ0HÑ*IÑIÐ ÷B*ñ B*÷J;ñ ;÷|a+ñ a+ôHj��^Ñ$ô jð\ :>ðØ	ðØ26ðàõñ6 ˆC�}°Ñ5€ð Ø×ÑôhR�G˜A‘Jó hRó ó ðhRð\ " H¨m¸MÑ.JÐ-KÈYÐ-VÑ$WÑW€�Ó Wð ×Ñ÷j.ð j.ó ðj.ðZ ×Ò˜%Ñ ÷$ð $ó !ð$ð" ×Ò˜%Ñ ô�Ló ó !ðð" ×Ò˜%Ñ ô˜ó ó !ðð0 ×Ò˜%Ñ ô˜ó ó !ðð ×Ò˜%Ñ ô$�Ló $ó !ð$ô0˜-ô ð ×Ò˜%Ñ ô&�ló &ó !ð&ð ×Ò˜%Ñ ôQ
�ó Q
ó !ðQ
ðh ×Ò˜%Ñ ô*�|ó *ó !ð*ð& ×Ò˜%Ñ ô#�ó #ó !ð#ð ×Ò˜%Ñ ô�<ó ó !ðô,'òDCñ �6—?‘?×)Ñ)¨$Ó/Ó0€à×Ñ�}Ó$Ø×$Ñ$€KÙ�7×#Ñ#Ó$×+Ñ+€ôð:	!Øð	!Ø(Dð	!àõ	!rA   