+
    @i1                      a  0 t $ ^ RIHt ^ RIt^ RIt^ RIt^ RIHtHtH	t	 ^ RI
HtHt ^ RIHtHtHt ^ RIHtHt ^ RIt^ RIHtHt ^ RIHt ^ R	IHt ^ R
IHt ^RIHt ^RI H!t!H"t"H#t#H$t$ ^RI%H&t& ^RI'H(t( ]PR                  R;8  d   ^ RI*H+t+ Rs,R]-R&   Rs.R]-R&   ^ s/R R lt0]R R l4       t1R R lt2R R lt3]Ph                  ! RR7      R R l4       t5]Ph                  ! RR 7      R! R" l4       t6R# R$ lt7]Ph                  ! RR 7      R% R& l4       t8]Pr                  ! R']! 4       R(7      R) R* l4       t:]Pr                  R+ R, l4       t;]Pr                  R- R. l4       t< ! R/ R04      t=]Pr                  ! R1R27      R3 R4 l4       t>]Pr                  ! R1R27      R5 R6 l4       t?]Pr                  R7 R8 l4       t@]Pr                  R9 R: l4       tAR# )<    )annotationsN)Callable	GeneratorIterator)	ExitStackcontextmanager)isasyncgenfunctioniscoroutinefunctionismethod)Anycast)FuncFixtureInfo
SubRequest)Exit)	CallSpec2)Scope)get_available_backends)current_async_libraryget_async_backendreset_current_async_libraryset_current_async_library)iterate_exceptions)
TestRunner)ExceptionGroupzTestRunner | None_current_runnerzExitStack | None_runner_stackc                    V ^8  d   QhRRRR/# )   backendobjectreturnztuple[str, dict[str, Any]] )formats   "Q/var/www/html/photoedit/myenv/lib/python3.14/site-packages/anyio/pytest_plugin.py__annotate__r%   #   s     X X X4N X    c                p   \        V \        4      '       d   V / 3# \        V \        4      '       d}   \        V 4      ^8X  dm   \        V ^ ,          \        4      '       dP   \        V ^,          \        4      '       d3   \        \        \        \        \        \        3,          3,          V 4      # \        R4      h)r   z@anyio_backend must be either a string or tuple of (string, dict))
isinstancestrtuplelendictr   r   	TypeError)r   s   &r$   extract_backend_and_optionsr.   #   s}    '3{	GU	#	#G(9gaj#&&:gaj$+G+Gc4S>12G<<
V
WWr&   c               $    V ^8  d   QhRRRRRR/# )r   backend_namer)   backend_optionsdict[str, Any]r!   zIterator[TestRunner]r"   )r#   s   "r$   r%   r%   .   s$     3 33(633r&   c              #  2  "   \         fw   \        V 4      p\        4       s\	        4       f&   \        V 4      p\        P                  \        V4       T;'       g    / p\        P                  VP                  V4      4      s \        ^,          s
 \         x  \        ^,          s
\        '       g%   \        f   Q h\        P                  4        R ;ss R # R #   \        ^,          s
\        '       g$   \        f   Q h\        P                  4        R ;ss i i ; i5iN)r   r   r   r   r   r   callbackr   enter_contextcreate_test_runner_runner_leasesclose)r0   r1   asynclibtokens   &&  r$   
get_runnerr<   -   s     
 $\2! "* .l;E""#>F)//R'55''8
 aN3!~ ,,,!.22MO  	!~ ,,,!.22MO s$   AD4DC ?D>DDc                    V ^8  d   QhRRRR/# )r   parserzpytest.Parserr!   Noner"   )r#   s   "r$   r%   r%   K   s      ] t r&   c                .    V P                  R RRR7       R# )
anyio_modestrictz-AnyIO plugin mode (either "strict" or "auto"))defaulthelpN)addini)r>   s   &r$   pytest_addoptionrF   K   s    
MM<  r&   c                    V ^8  d   QhRRRR/# )r   configzpytest.Configr!   r?   r"   )r#   s   "r$   r%   r%   S   s     
 
] 
t 
r&   c                   V P                  R R4       V P                  R4      R8X  dd   V P                  P                  R4      '       dA   V P                  R4      R8X  d)   V P	                  \
        P                  ! R4      ^4       R# R# R# R# )markerszManyio: mark the (coroutine function) test to be run asynchronously via anyio.rA   autoasyncioasyncio_modezlAnyIO auto mode has been enabled together with pytest-asyncio auto mode. This may cause unexpected behavior.N)addinivalue_linegetinipluginmanager
has_pluginissue_config_time_warningpytestPytestConfigWarning)rH   s   &r$   pytest_configurerU   S   s    
W
 	l#v-  ++I66MM.)V3((&&< 	
 4 7 	.r&   T)hookwrapperc               $    V ^8  d   QhRRRRRR/# )r   
fixturedefr   requestr!   zGenerator[Any]r"   )r#   s   "r$   r%   r%   g   s!     - -S -3 -> -r&   c              #    aaa"   R  VVV3R llpV P                   o\        S4      '       g   \        S4      '       d   RVP                  9   d   W n         V P                  pRV P                  9   ;o'       g   V ;P                  R,          un        RV P                  9   ;o'       g   V ;P                  R,          un         Rx SV n         W0n        # Rx #   ST n         Y0n        i ; i5i)c               (    V ^8  d   QhRRRRRRRR/# )r   anyio_backendr   rY   r   kwargsr!   r"   )r#   s   "r$   r%   *pytest_fixture_setup.<locals>.__annotate__h   s(     = =s =Z =3 =3 =r&   c              ;  (  <"   VP                   '       dd   \        S4      '       dS   \        SP                  4      \        VP                   4      J d'   SP                  P                  VP                   4      pMSp\        V 4      w  rES'       d   WR &   S	'       d   WR&   \        WE4      ;_uu_ 4       p\        V4      '       d   VP                  W24       Rj  xL
  MVP                  W24      x  RRR4       R#  L"  + '       g   i     R# ; i5i)r\   rY   N)instancer   type__self____func____get__r.   r<   r	   run_asyncgen_fixturerun_fixture)
r\   rY   r]   
local_funcr0   r1   runnerfunchas_backend_arghas_request_args
   &&,    r$   wrapper%pytest_fixture_setup.<locals>.wrapperh   s      T]]#tG,<,<'==..w/?/?@JJ(CM(R%&3?# '966&!*--!66zJJJ((<<	 76J 766s6   BDD3&C>C<C>2
D<C>>D			Dr\   rY   Nr\   rY   )ri   r	   r
   fixturenamesargnames)rX   rY   rl   original_argnameri   rj   rk   s   &&  @@@r$   pytest_fixture_setuprs   f   s     = =4 ??D$#6t#<#<g222%O)22'6*:M:M'MMOM##'99#'0J4G4G'GGOG##|3#7"&
&6#N #'
&6#s$   B#C*)C*C C*C''C*)tryfirstc               (    V ^8  d   QhRRRRRRRR/# )	r   	collectorzpytest.Module | pytest.Classnamer)   objr    r!   r?   r"   )r#   s   "r$   r%   r%      s,     > >+>36>=C>	>r&   c                   V P                  W!4      '       d   \        VR 4      '       d   VP                  P                  MTp\	        V4      '       d   V P
                  P                  R4      R8H  pV P                  R4      p\        VRR
4      pV'       gC   V'       g;   \        ;QJ d    R V 4       F  '       g   K   RM	  RM! R V 4       4      '       d(   \        P                  P                  R4      ! V4       R	# R	# R	# R	# )
hypothesisrA   rK   anyio
pytestmarkc              3  >   "   T F  qP                   R 8H  x  K  	  R# 5i)r{   N)rw   ).0markers   & r$   	<genexpr>,pytest_pycollect_makeitem.<locals>.<genexpr>   s     HK&{{g-Ks   TFr\   Nr"   )istestfunctionhasattrrz   
inner_testr
   rH   rO   get_closest_markergetattranyrS   markusefixtures)rv   rw   rx   
inner_funcanyio_auto_moder   own_markerss   &&&    r$   pytest_pycollect_makeitemr      s     **29#|2L2LS^^..RU
z**'..55lCvMO11':F!#|R8K3HKH333HKHHH''8= I + +r&   c                    V ^8  d   QhRRRR/# )r   sessionzpytest.Sessionr!   r?   r"   )r#   s   "r$   r%   r%      s     71 71n 71 71r&   c                   \        \        \        V P                  4      4      4       EF  w  r\	        V\
        P                  4      '       g   K(  \        VP                  4      '       g   KE  VP                  R 4      f   KZ  RVP                  9  g   Km  . p \        P                  ! \        4       Uu0 uF  qDP                  kK  	  pp\        \#        4       4       EF.  w  rgRV9   d'   \        RV/RV/R\$        P&                  /V.. R7      pM&\        / RV/RV/R\$        P&                  /V.. R7      pVP(                  p	\        V	P*                  4      p
RV
9  d   V
P-                  R4       \/        V	P0                  V	P2                  V
V	P4                  R7      p\
        P                  P7                  VP8                  VP:                   RV R2VVP<                  VVP>                  VP:                  R	7      pVP-                  V4       EK1  	  W0P                  W^,           % EK  	  R# u upi   \         d    \!        4       p EL~i ; i)
r{   Nr\   
_arg2scope)paramsindicesr   _idlistmarks)funcargsr   r   	arg2scopeidlistr   )rq   initialnamesnames_closurename2fixturedefs[])rw   callspeccallobjfixtureinfokeywordsoriginalname) reversedlist	enumerateitemsr(   rS   Functionr
   functionr   rp   dataclassesfieldsr   rw   r-   setr   r   Module_fixtureinfor   appendr   rq   r   r   from_parentparentr   rx   r   )r   iitem	new_itemsf	cs_fieldsparam_indexr   r   finew_names_closurenew_fixtureinfonew_items   &            r$   pytest_collection_finishr      s   D7==!9:;tV__--#DMM22''0<t'8'88I"-8-?-?	-JK-JVV-J	K )22H2J(K$9,( /9!0+ >$3U\\#B!(	  H  )!# /9!0+ >#2ELL"A 'y  H &&$()9)9$:!"*;;%,,_="1[[!#"3%'%8%8	# "??66KK --.ay:% HH /!]]!%!2!2 7    *O )LR (1MM!!e$m < L "E	"s$   H04H+H0+H00I	I	c                    V ^8  d   QhRRRR/# )r   
pyfuncitemr   r!   zbool | Noner"   )r#   s   "r$   r%   r%      s     ! !3 !; !r&   c           
     p  a	a
a R  V	V
V3R llpV P                   P                  R4      pV'       Ed"   \        V4      w  o	o
\        V P                  R4      '       di   V P                  P
                  P                  oSP                  VP                  8w  d,   \        S4      '       d   WP                  P
                  n        R# \        V P                  4      '       du   V P                   pV P                  P                   Uu/ uF  qDW4,          bK  	  pp\        S	S
4      ;_uu_ 4       p VP                  V P                  V4        RRR4       R# R# u upi   \         d<   p\        T4       F&  p\        T\         \"        \$        34      '       g   K&  Yh	  h Rp?ii ; i  + '       g   i     R# ; i)c                    V ^8  d   QhRRRR/# )r   r]   r   r!   r?   r"   )r#   s   "r$   r%   (pytest_pyfunc_call.<locals>.__annotate__   s     3 3c 3d 3r&   c                    < \        SS4      ;_uu_ 4       pVP                  SV 4       R R R 4       R #   + '       g   i     R # ; ir4   )r<   run_test)r]   rh   r0   r1   original_funcs   , r$   run_with_hypothesis/pytest_pyfunc_call.<locals>.run_with_hypothesis   s/    o66&OOM62 7666s	   3A	r\   rz   NT)r   getr.   r   rx   rz   r   __qualname__r
   r   rq   r<   r   r   r   r(   r   KeyboardInterrupt
SystemExit)r   r   r   r   argtestargsrh   excgrpexcr0   r1   r   s   &        @@@r$   pytest_pyfunc_callr      s[   3 3 !!%%o6Gw(CG(L%o:>><00&NN55@@M))-@-M-MM&}55;NNN--8z~~..!**H6@6M6M6V6VW6VsX]*6VHWL/::fOOJNNH= ;  X & 1&9%cD2CZ+PQQ"%1  :  ;: s6   E+F$-EF!&,FFF!!F$$F5	module)scoper   c                    V ^8  d   QhRRRR/# )r   rY   r   r!   r"   )r#   s   "r$   r%   r%   	  s      3 3 r&   c                    V P                   # r4   )paramro   s   &r$   r\   r\     s    ==r&   c                    V ^8  d   QhRRRR/# )r   r\   r   r!   r)   r"   )r#   s   "r$   r%   r%     s        c  c  r&   c                D    \        V \        4      '       d   V # V ^ ,          # )r   r(   r)   rn   s   &r$   anyio_backend_namer     s     -%%Qr&   c                    V ^8  d   QhRRRR/# )r   r\   r   r!   r2   r"   )r#   s   "r$   r%   r%     s            r&   c                D    \        V \        4      '       d   / # V ^,          # )   r   rn   s   &r$   anyio_backend_optionsr     s    -%%	Qr&   c                  L    ] tR tRtRtR R lt]R R l4       tRR R	 lltR
t	R# )FreePortFactoryi  a+  
Manages port generation based on specified socket kind, ensuring no duplicate
ports are generated.

This class provides functionality for generating available free ports on the
system. It is initialized with a specific socket kind and can generate ports
for given address families while avoiding reuse of previously generated ports.

Users should not instantiate this class directly, but use the
``free_tcp_port_factory`` and ``free_udp_port_factory`` fixtures instead. For simple
uses cases, ``free_tcp_port`` and ``free_udp_port`` can be used instead.
c                    V ^8  d   QhRRRR/# )r   kindsocket.SocketKindr!   r?   r"   )r#   s   "r$   r%   FreePortFactory.__annotate__+  s     % %. %4 %r&   c                	H    Wn         \        \        ,          ! 4       V n        R # r4   )_kindr   int
_generated)selfr   s   &&r$   __init__FreePortFactory.__init__+  s    
c(*r&   c                   V ^8  d   QhRR/# )r   r!   r   r"   )r#   s   "r$   r%   r   0  s      ' r&   c                    V P                   # )z
The type of socket connection (e.g., :data:`~socket.SOCK_STREAM` or
:data:`~socket.SOCK_DGRAM`) used to bind for checking port availability

)r   )r   s   &r$   r   FreePortFactory.kind/  s     zzr&   Nc                    V ^8  d   QhRRRR/# )r   familyzsocket.AddressFamily | Noner!   r   r"   )r#   s   "r$   r%   r   8  s     $ $: $c $r&   c           	        Ve   V.pMF\         P                  .p\         P                  '       d    VP                  \         P                  4        ^ p\        4       ;_uu_ 4       pV F  pVP                  \         P                   ! WP                  4      4      pV\         P                  8X  d   RMRp VP                  Wc34       T'       d   Kh  TP                  4       ^,          pK  	  W0P                  9  d(   V P                  P                  V4       VuuRRR4       # RRR4       K    \         d      K  i ; i  + '       g   i     EK  ; i)z
Return an unbound port for the given address family.

:param family: if omitted, both IPv4 and IPv6 addresses will be tried
:return: a port number

Nz::1z	127.0.0.1)socketAF_INEThas_ipv6r   AF_INET6r   r6   r   bindOSErrorgetsocknamer   add)r   r   familiesportstacksockaddrs   &&     r$   __call__FreePortFactory.__call__8  s     xH'H0D&F ..v}}VZZ/PQD$*foo$=5;D		4,/  4#//1!4 ' ??2++D1#  #  s8   $AD>3D+D>AD>+D;	6D>:D;	;D>>E	)r   r   r4   )
__name__
__module__r   __firstlineno____doc__r   propertyr   r   __static_attributes__r"   r&   r$   r   r     s*    %  $ $r&   r   r   )r   c                   V ^8  d   QhRR/# r   r!   r   r"   )r#   s   "r$   r%   r%   [  s     / / /r&   c                 4    \        \        P                  4      # r4   )r   r   SOCK_STREAMr"   r&   r$   free_tcp_port_factoryr  Z  s    6--..r&   c                   V ^8  d   QhRR/# r  r"   )r#   s   "r$   r%   r%   `  s     . . .r&   c                 4    \        \        P                  4      # r4   )r   r   
SOCK_DGRAMr"   r&   r$   free_udp_port_factoryr  _  s    6,,--r&   c                    V ^8  d   QhRRRR/# )r   r  Callable[[], int]r!   r   r"   )r#   s   "r$   r%   r%   e       # #): #s #r&   c                    V ! 4       # r4   r"   )r  s   &r$   free_tcp_portr  d       ""r&   c                    V ^8  d   QhRRRR/# )r   r  r  r!   r   r"   )r#   s   "r$   r%   r%   j  r  r&   c                    V ! 4       # r4   r"   )r  s   &r$   free_udp_portr  i  r  r&   )      )B__conditional_annotations__
__future__r   r   r   syscollections.abcr   r   r   
contextlibr   r   inspectr	   r
   r   typingr   r   rS   _pytest.fixturesr   r   _pytest.outcomesr   _pytest.pythonr   _pytest.scoper    r   _core._eventloopr   r   r   r   _core._exceptionsr   abcr   version_infoexceptiongroupr   r   __annotations__r   r8   r.   r<   rF   rU   hookimplrs   r   r   r   fixturer\   r   r   r   r  r  r  r  )r  s   @r$   <module>r,     s   " "   
 9 9 0 E E   8 ! $  $  2 g-%)" )"& &X 3 3:
& T"- #-` $>  >"71t $!  !H h'='?@ A        :$ :$z i / !/ i . !. # # # #r&   