+
    Bik                        ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIHt ]! ]P                  R4      '       g   ]P                  ! R4      hRR+,          tRR,RR],          .tR	P                  ]4      R	,           tR
P                  ]4      R
,           tRP                  ]4      R,           tR	P                  ]4      R
,           t] U u. uF  q R	,           NK  	  up t ! R R4      t ! R R4      t ! R R4      t ! R R]4      t ! R R]]]P.                  4      t ! R R]]]P.                  4      t ! R R]4      t ! R R]]]P.                  4      t ! R R]]]P.                  4      t ! R R]4      t ! R  R!]]]P.                  4      t ! R" R#]]]P.                  4      t ! R$ R%]4      t  ! R& R']] ]P.                  4      t! ! R( R)]] ]P.                  4      t"]#R*8X  d   ]PH                  ! 4        R# R# u up i )-    N)	os_helpernewlinesz3This Python does not have universal newline supportxzline1=1zdef line3():passzline4 = '%s'

c                   .    ] tR t^"t]P
                  tRtR# )CTest N)__name__
__module____qualname____firstlineno__ioopen__static_attributes__r       -/usr/lib/python3.14/test/test_univnewlines.pyr
   r
   "   s    77Dr   r
   c                   :    ] tR t^%t]! ]P                  4      tRtR# )PyTestr   N)r   r   r   r   staticmethodpyior   r   r   r   r   r   r   %   s    		"Dr   r   c                   L   a  ] tR t^(t o RtRtR tR tR tR t	R t
R tR	tV tR
# )TestGenericUnivNewlinesrwbc                "   V P                   pR V P                  9   d   VP                  R4      pV P                  \        P
                  V P                  4      ;_uu_ 4       pVP                  V4       RRR4       R#   + '       g   i     R# ; i)basciiN)DATA	WRITEMODEencoder   r   TESTFNwrite)selfdatafps   &  r   setUpTestGenericUnivNewlines.setUp.   s\    yy$.. ;;w'DYYy''88BHHTN 9888s   !A==B	c                `     \         P                  ! \        P                  4       R #     R # ; iN)osunlinkr   r#   )r%   s   &r   tearDown TestGenericUnivNewlines.tearDown5   s#    	IIi&&'	s   $( -c                ^   V P                  \        P                  V P                  4      ;_uu_ 4       pVP	                  4       pR R R 4       V P                  X\        4       V P                  \        XP                  4      \        V P                  4      4       R #   + '       g   i     L`; ir+   )
r   r   r#   READMODEreadassertEqualDATA_LFreprr   NEWLINEr%   r'   r&   s   &  r   	test_read!TestGenericUnivNewlines.test_read;   sj    YYy''772779D 8w'bkk*D,>? 87   BB,	c                ^   V P                  \        P                  V P                  4      ;_uu_ 4       pVP	                  4       pR R R 4       V P                  X\        4       V P                  \        XP                  4      \        V P                  4      4       R #   + '       g   i     L`; ir+   )
r   r   r#   r1   	readlinesr3   
DATA_SPLITr5   r   r6   r7   s   &  r   test_readlines&TestGenericUnivNewlines.test_readlinesA   sj    YYy''772<<>D 8z*bkk*D,>? 87r:   c                   V P                  \        P                  V P                  4      ;_uu_ 4       p. pVP	                  4       pV'       d$   VP                  V4       VP	                  4       pK+   R R R 4       V P                  X\        4       V P                  \        XP                  4      \        V P                  4      4       R #   + '       g   i     L`; ir+   )r   r   r#   r1   readlineappendr3   r=   r5   r   r6   )r%   r'   r&   ds   &   r   test_readline%TestGenericUnivNewlines.test_readlineG   s    YYy''772DAAKKM  8 	z*bkk*D,>? 87s   C
#C

C	c                   V P                  \        P                  V P                  4      ;_uu_ 4       pVP	                  4        VP                  4       pVP                  4       pV P                  V\        R ,          4       VP                  V4       VP                  4       pRRR4       V P                  X\        R ,          4       R#   + '       g   i     L/; i):   NNN)
r   r   r#   r1   rA   tellr<   r3   r=   seek)r%   r'   posr&   s   &   r   	test_seek!TestGenericUnivNewlines.test_seekQ   s    YYy''772KKM'')C<<>DT:b>2GGCL<<>D 8 	z"~. 87s   A/C		C	r   N)r   r   r   r   r1   r!   r(   r.   r8   r>   rD   rK   r   __classdictcell____classdict__s   @r   r   r   (   s7      HI@@@/ /r   r   c                       ] tR t^\tRt]tRtR# )TestCRNewlinesr   r   N)r   r   r   r   r6   DATA_CRr    r   r   r   r   rQ   rQ   \       GDr   rQ   c                       ] tR t^_tRtR# )CTestCRNewlinesr   Nr   r   r   r   r   r   r   r   rU   rU   _       r   rU   c                       ] tR t^`tRtR# )PyTestCRNewlinesr   NrV   r   r   r   rY   rY   `       4r   rY   c                       ] tR t^btRt]tRtR# )TestLFNewlinesr   r   N)r   r   r   r   r6   r4   r    r   r   r   r   r\   r\   b   rS   r   r\   c                       ] tR t^etRtR# )CTestLFNewlinesr   NrV   r   r   r   r^   r^   e   rW   r   r^   c                       ] tR t^ftRtR# )PyTestLFNewlinesr   NrV   r   r   r   r`   r`   f   rZ   r   r`   c                   .   a  ] tR t^ht o Rt]tR tRtV t	R# )TestCRLFNewlinesr   c                   V P                  \        P                  V P                  4      ;_uu_ 4       pV P	                  \        VP                  4      \        R 4      4       VP                  4       pVP                  4       pR R R 4       V P	                  \        XP                  4      \        V P                  4      4       R #   + '       g   i     LJ; ir+   )
r   r   r#   r1   r3   r5   r   rA   rH   r6   )r%   r'   r&   rJ   s   &   r   	test_tellTestCRLFNewlines.test_telll   s    YYy''772T"++.T
;;;=D'')C 8 	bkk*D,>?	 87s   ACC	r   N)
r   r   r   r   r6   	DATA_CRLFr    rd   r   rM   rN   s   @r   rb   rb   h   s     GD@ @r   rb   c                       ] tR t^rtRtR# )CTestCRLFNewlinesr   NrV   r   r   r   rh   rh   r   s    Tr   rh   c                       ] tR t^stRtR# )PyTestCRLFNewlinesr   NrV   r   r   r   rj   rj   s       tr   rj   c                       ] tR t^utRt]tRtR# )TestMixedNewlinesr   N)r   r   )r   r   r   r   r6   
DATA_MIXEDr    r   r   r   r   rm   rm   u   s    GDr   rm   c                       ] tR t^xtRtR# )CTestMixedNewlinesr   NrV   r   r   r   rp   rp   x   rk   r   rp   c                       ] tR t^ytRtR# )PyTestMixedNewlinesr   NrV   r   r   r   rr   rr   y   s    r   rr   __main__i @  zline2='this is a very long line designed to go past any default buffer limits that exist in io.py but we also want to test the uncommon case, naturally.')%r   _pyior   unittestr,   systest.supportr   hasattrstdinSkipTestFATXDATA_TEMPLATEjoinr4   rR   rf   rn   r=   r
   r   r   rQ   TestCaserU   rY   r\   r^   r`   rb   rh   rj   rm   rp   rr   r   main)r   s   0r   <module>r      s   	   	 
 " syy*%%


=? ? e} ) T ))M
"T
)
))M
"T
)KK&/	 YY}%,
 -.1$hh.
 # #1/ 1/h,  Fe^X->-> E Gv~x/@/@ G,  Fe^X->-> E Gv~x/@/@ G	@. 	@ J/1B1B I K!183D3D K/  L 183D3D K M&"3X5F5F MzMMO w /s    G2