+
    yj                       R t ^ RIHt ^ RIHt ^ RIt^ RIHt ^ RIH	t	 ^ RIH
t
 ^ RIHt ^ RIHt ^ R	IHt ^ RIt]]],          ,          ! 4       tR
 R lt]P*                  ! RR7      R R l4       tR R ltR R ltR R ltR# )zASubmit failure or test session information to a pastebin service.)annotations)StringION)IO)Config)create_terminal_writer)Parser)StashKey)TerminalReporterc                    V ^8  d   QhRRRR/# )   parserr   returnNone )formats   "D/var/www/html/2rare/lib/python3.14/site-packages/_pytest/pastebin.py__annotate__r      s     
 
V 
 
    c           
     \    V P                  R 4      pVP                  RRRRRRR.RR	7       R# )
zterminal reportingz
--pastebinmodestorepastebinNfailedallz3Send failed|all info to bpaste.net pastebin service)metavaractiondestdefaultchoiceshelp)getgroup
_addoption)r   groups   & r   pytest_addoptionr#      s>    OO01E	5!B  r   T)trylastc                    V ^8  d   QhRRRR/# r   configr   r   r   r   )r   s   "r   r   r   #   s     % %V % %r   c                .  a a S P                   P                  R 8X  dx   S P                  P                  R4      pVeW   \        P
                  ! R4      S P                  \        &   VP                  P                  oV V3R lpW!P                  n	        R# R# R# )r   terminalreporterNzw+bc                   < S! V 3/ VB  \        V \        4      '       d   V P                  R 4      p SP                  \        ,          P                  V 4       R# )utf-8N)
isinstancestrencodestashpastebinfile_keywrite)skwargsr'   oldwrites   &,r   	tee_write#pytest_configure.<locals>.tee_write.   sC    %f%a%%)A-.44Q7r   )
optionr   pluginmanager	getplugintempfileTemporaryFiler/   r0   _twr1   )r'   trr5   r4   s   f  @r   pytest_configurer>   "   st    }}&!!++,>? >-5-C-CE-JFLL)*vv||H8 %FFL  'r   c                    V ^8  d   QhRRRR/# r&   r   )r   s   "r   r   r   7   s     @ @v @$ @r   c                   \         V P                  9   d   V P                  \         ,          pVP                  ^ 4       VP                  4       pVP	                  4        V P                  \          V P
                  P                  R4      pVP                  P                  R VP                  RR4       \        V4      pVP                  RV R24       R# R# )    r)   r1   =$Sending information to Paste Servicezpastebin session-log: 
N)r0   r/   seekreadcloser8   r9   r<   __dict__	write_sepcreate_new_paste
write_line)r'   pastebinfile
sessionlogr=   pastebinurls   &    r   pytest_unconfigurerO   7   s    6<<'||$45!!&&(
LL)*!!++,>?FFOOG$
S@A&z2
.{m2>? (r   c                    V ^8  d   QhRRRR/# )r   contentszstr | bytesr   r-   r   )r   s   "r   r   r   H   s     C C{ Cs Cr   c                h   ^ RI p^ RIHp ^ RIHp RV RRRR/pR	p V! WR! V4      P                  R
4      R7      P                  4       P                  R4      pTP                  RT4      pT'       d   T RTP                  ^4       2# RT,           R,           #   \         d   pRT 2u Rp?# Rp?ii ; i)zCreate a new paste using the bpaste.net service.

:contents: Paste contents string.
:returns: URL to the pasted contents, or an error message.
N)	urlencode)urlopencodelexertextexpiry1weekzhttps://bpa.stascii)datar+   zbad response: zhref="/raw/(\w+)"z/show/zbad response: invalid format ('z'))reurllib.parserS   urllib.requestrT   r.   rF   decodeOSErrorsearchr"   )	rQ   r\   rS   rT   paramsurlresponseexc_infoms	   &        r   rJ   rJ   H   s     &&h7CF
C+Ci/66w?@EEGNNwW 	
 			&1AfQWWQZL))08;dBB  +z**+s   ;B B1"B,&B1,B1c                    V ^8  d   QhRRRR/# )r   r)   r	   r   r   r   )r   s   "r   r   r   a   s     D D.> D4 Dr   c                d   V P                   P                  P                  R 8w  d   R# R V P                  9   d   V P	                  RR4       V P                  R ,           F  p VP
                  P                  P                  R,          P                  p\        4       p\        V P                   V4      pVP                  V4       VP                  4       p\        V4      '       g   Q h\!        V4      pV P#                  V RV 24       K  	  R# R#   \         d    T P                  T4      p Li ; i)r   NrB   rC   z --> )r'   r7   r   statsrI   longreprreprtracebackreprentriesreprfilelocAttributeError_getfailureheadliner   r   
toterminalgetvaluelenrJ   rK   )r)   repmsgfiletwr2   rN   s   &      r   pytest_terminal_summaryrx   a   s   %%..(:#)))""3(NO#))(33C@ll00<<R@LL :D'(8(?(?FBNN2Aq66M6*1-K''3%u[M(BC 4 *
 " @&::3?@s   "1DD/.D/)__doc__
__future__r   ior   r:   typingr   _pytest.configr   r   _pytest.config.argparsingr   _pytest.stashr   _pytest.terminalr	   pytestbytesr0   r#   hookimplr>   rO   rJ   rx   r   r   r   <module>r      sn    G "    ! 1 , " -  BuI&( 
 % %(@"C2Dr   