+
     h  c                   sZ    ^ RI t ^ RIt^ RIt^ RIt^ RIHtHt R R ltR tR t	R t
R tR# )	i    N)FileDescriptor	NoFDErrorc                s$    V ^8  d   QhR\         /# )i   fd)Zint)Zformats   ";/usr/lib/python3.14/site-packages/jeepney/tests/test_fds.py__annotate__r   	   s     / /c /    c                s   \         P                  ! \        4      ;_uu_ 4       p\        P                  ! V 4       RRR4       XP
                  P                  \        P                  8X  g   Q hR#   + '       g   i     L=; i)z<Check that the given number is not open as a file descriptorN)pytestraisesZOSErrorosZstatZvalueerrnoZEBADF)r   Zexc_infos   & r   assert_not_fdr
   	   sH    	w		8
 
 >>5;;... 
 	s   A//A?	c                 s   \         P                  ! V R ,          \         P                  \         P                  ,          4      p\	        V4      ;_uu_ 4       pVP                  4       V8X  g   Q h RRR4       R\        X4      9   g   Q h\        P                  ! \        4      ;_uu_ 4        VP                  4        RRR4       \        V4       R#   + '       g   i     Lj; i  + '       g   i     L0; i)aNZclosed)r   openO_CREATO_RDWRr    filenoreprr   r   r   r
   tmp_pathr   wfd   &  r   
test_closer      s    	Cbii!7	8B			szz|r!!! 
 tCy   	y	!	!

 
" " 
	
 
"	!s   C*C#C 	#C3	c                 s   \         P                  ! V R ,          \         P                  4      p\        V4      pVP	                  4       V8X  g   Q hVP                  4       V8X  g   Q h R\        V4      9   g   Q h\        P                  ! \        4      ;_uu_ 4        VP	                  4        RRR4       \         P                  ! V4       R#   + '       g   i     L(; i  \         P                  ! T4       i ; i)r   	convertedN)r   r   r   r    r   Z	to_raw_fdr   r   r   r   closer   r   r   test_to_raw_fdr      s    	C	,B

C::<2==?b   d3i''']]9%%JJL & 	 &% 	s$   '4C C,C C	C C7c                 sN   \         P                  ! V R ,          \         P                  \         P                  ,          4      p\	        V4      pVP                  R4      ;_uu_ 4       pVP                  R4      '       g   Q h RRR4       R\        V4      9   g   Q h\        P                  ! \        4      ;_uu_ 4        VP                  4        RRR4       \        V4       V R ,          P                  4       R8X  g   Q hR#   + '       g   i     L; i  + '       g   i     LN; i)r   ZwZabcNr   )r   r   r   r   r    Zto_fileZwriter   r   r   r   r   r
   Z	read_text)r   r   r   Zfs   &   r   test_to_filer   -   s    	Cbii!7	8B

C	S		Qwwu~~~ 
 $s)###	y	!	!

 
" "sN%%'5000 
	 
"	!s   &D=DD	D$	c                  s|   \         P                  ! 4       w  r V P                  R 4       VP                  4       p\	        V4      pVP                  4       ;_uu_ 4       pVP                  ^4      pV'       d   R P                  V4      '       g   Q h RRR4       R\        V4      9   g   Q h\        P                  ! \        4      ;_uu_ 4        VP                  4        RRR4       \        V4       V P                  4        R#   + '       g   i     Lz; i  + '       g   i     L@; i  T P                  4        i ; i)s   abcdNr   )socketZ
socketpairZsendallZdetachr    Z	to_socketZrecvZ
startswithr   r   r   r   r   r
   r   )Zs1Zs2Zsfdr   ZsockZbs         r   test_to_socketr   =   s     FB


7iikS!]]__		"A++A.....  d3i''']]9%%JJL & 	c

 _
 &%
 	
sB   AD) 0DD<D) DD) D	D) D&	!D) )D;)r	   r   r   r   Zjeepneyr    r   r
   r   r   r   r   ) r   r   <module>r      s-     	   -/1 r   