ó
    Eñiš  ã                  óZ  • 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r\\   " 5       r\\   " 5       rSS jrSS	 jrSS
 jrSS jrSS jrSS jr\R0                  " SSS9SS j5       r\R0                  " SS9SS j5       r\R0                  " SS9SS j5       rg)é    )Úannotations)Ú	GeneratorN)ÚConfig)ÚParser)ÚItem)ÚStashKeyc                óR   • SnSnU R                  SUSS9  U R                  SUSSS	9  g )
NzUDump the traceback of all threads if a test takes more than TIMEOUT seconds to finishzVExit the test process if a test takes more than faulthandler_timeout seconds to finishÚfaulthandler_timeoutç        )ÚdefaultÚfaulthandler_exit_on_timeoutÚboolF)Útyper   )Úaddini)ÚparserÚhelp_timeoutÚhelp_exit_on_timeouts      ÚQ/home/mande/repo/quber/.venv/lib/python3.13/site-packages/_pytest/faulthandler.pyÚpytest_addoptionr      sG   € ð	.ð ð
	1ð ð ‡M�MÐ(¨,À€MÑDØ
‡M�MØ&Ð(<À6ÐSXð ò ó    c                óü   • SS K n[        5       nUR                  5       (       a  X R                  [        '   [
        R                  " U5      U R                  [        '   UR                  U R                  [           S9  g )Nr   )Úfile)	ÚfaulthandlerÚget_stderr_filenoÚ
is_enabledÚstashÚ$fault_handler_original_stderr_fd_keyÚosÚdupÚfault_handler_stderr_fd_keyÚenable)Úconfigr   Ústderr_filenos      r   Úpytest_configurer$   !   s^   € Ûô &Ó'€MØ×Ñ× Ñ Ø=J�‰Ô9Ñ:Ü02·²°}Ó0E€F‡L�LÔ,Ñ-Ø×Ñ˜VŸ\™\Ô*EÑFÐÒGr   c                óT  • SS K nUR                  5         [        U R                  ;   a8  [        R
                  " U R                  [           5        U R                  [        	 [        U R                  ;   a4  UR                  U R                  [           5        U R                  [        	 g g )Nr   )r   Údisabler    r   r   Úcloser   r!   )r"   r   s     r   Úpytest_unconfigurer(   0   sv   € Ûà×ÑÔä" f§l¡lÓ2Ü
�Š�—‘Ô9Ñ:Ô;Ø�L‰LÔ4Ð5ä+¨v¯|©|Ó;Ø×Ñ˜FŸL™LÔ)MÑNÔOØ�L‰LÔ=Ñ>ð <r   c                 óò   •  [         R                  R                  5       n U S:X  a
  [        5       eU $ ! [        [        4 a4    [         R
                  c   e[         R
                  R                  5       s $ f = f)Néÿÿÿÿ)ÚsysÚstderrÚfilenoÚAttributeErrorÚ
ValueErrorÚ
__stderr__)r-   s    r   r   r   >   si   € ð'Ü—‘×"Ñ"Ó$ˆð �R‹<Ü Ó"Ð"ØˆøÜœJÐ'ó 'ô �~‰~Ñ)Ð)Ð)Ü�~‰~×$Ñ$Ó&Ò&ð'ús   ‚/2 ²AA6Á5A6c                óH   • [        U R                  S5      =(       d    S5      $ )Nr
   r   )ÚfloatÚgetini)r"   s    r   Úget_timeout_config_valuer4   N   s   € Ü�—‘Ð5Ó6×=¸#Ó>Ð>r   c                óV   • U R                  S5      n[        U[        5      (       d   eU$ )Nr   )r3   Ú
isinstancer   )r"   Úexit_on_timeouts     r   Ú get_exit_on_timeout_config_valuer8   R   s*   € Ø—m‘mÐ$BÓC€OÜ�o¤t×,Ñ,Ð,Ð,ØÐr   T)ÚwrapperÚtrylastc              #  ó(  #   • [        U R                  5      n[        U R                  5      nUS:”  aF  SS KnU R                  R                  [
           nUR                  XUS9   S v •UR                  5         $ S v •$ ! UR                  5         f = f7f)Nr   )r   Úexit)r4   r"   r8   r   r   r    Údump_traceback_laterÚcancel_dump_traceback_later)ÚitemÚtimeoutr7   r   r,   s        r   Úpytest_runtest_protocolrA   X   s{   é € ä& t§{¡{Ó3€GÜ6°t·{±{ÓC€OØ�ƒ{Ûà—‘×"Ñ"Ô#>Ñ?ˆØ×)Ñ)¨'À_Ð)ÑUð	7Úà×4Ñ4Õ6âˆøð ×4Ñ4Õ6üs   ‚A"BÁ%A= Á(BÁ=BÂB)Útryfirstc                 ó,   • SSK n U R                  5         g)z@Cancel any traceback dumping due to timeout before entering pdb.r   N©r   r>   ©r   s    r   Úpytest_enter_pdbrF   i   s   € ó à×,Ñ,Õ.r   c                 ó,   • SSK n U R                  5         g)zJCancel any traceback dumping due to an interactive exception being
raised.r   NrD   rE   s    r   Úpytest_exception_interactrH   q   s   € ó à×,Ñ,Õ.r   )r   r   ÚreturnÚNone)r"   r   rI   rJ   )rI   Úint)r"   r   rI   r2   )r"   r   rI   r   )r?   r   rI   zGenerator[None, object, object])rI   rJ   )Ú
__future__r   Úcollections.abcr   r   r+   Ú_pytest.configr   Ú_pytest.config.argparsingr   Ú_pytest.nodesr   Ú_pytest.stashr   ÚpytestrK   r   r    r   r$   r(   r   r4   r8   ÚhookimplrA   rF   rH   © r   r   Ú<module>rU      s²   ðÝ "å %Û 	Û 
å !Ý ,Ý Ý "Û ð (0°¢}£Ð $Ø& sšm›oÐ ôôHô?ô'ô ?ôð ‡‚˜ tÑ,óó -ðð  ‡‚˜$Ñó/ó  ð/ð ‡‚˜$Ñó/ó  ñ/r   