
    ^h                         S SK r S SKrS SKJr  \R
                  R                  \5      r\R
                  R                  \S5      r
S rS rS rg)    N)openpyz../../core/tests/nonascii.pyc                      [        [        S5       n [        R                  " U R                  5      u  pS S S 5        WS:X  d   eg ! , (       d  f       N= f)Nrb
iso-8859-5)opennonascii_pathr   detect_encodingreadline)fencliness      Y/home/james-whalen/.local/lib/python3.13/site-packages/IPython/utils/tests/test_openpy.pytest_detect_encodingr   
   s@    	mT	"a++AJJ7
 
#, 
#	"s   #A
Ac                     [         R                  " [        SS9 n U R                  5       nS S S 5        [        R
                  " [        SS9nUW:X  d   eSU;   d   e[        R
                  " [        SS9nSU;  d   eg ! , (       d  f       NY= f)Nr   )encodingFskip_encoding_cookiecoding: iso-8859-5T)ior   r   readr   read_py_file)r   read_specified_encread_detected_encread_strip_enc_cookies       r   test_read_filer      s    		6!VVX 
7++MPUV 2222#4444"//D  '<<<< 
7	6s   A>>
Bc                  T   [         R                  " [        S5       n U R                  5       nS S S 5        [        R
                  " WSS9R                  5       UR                  S5      R                  5       :X  d   e[        R
                  " USS9nSU;  d   eg ! , (       d  f       Nr= f)Nr   Fr   r   Tr   )r   r   r   r   r   source_to_unicode
splitlinesdecode)r   source_bytessource_no_cookies      r   test_source_to_unicoder"      s    		%vvx 
& 	  EJUUW|,779	:	: //SWX'7777 
&	%s   B
B')r   os.pathosIPython.utilsr   pathdirname__file__mydirjoinr   r   r   r"        r   <module>r-      sD    	   
!U$BC
=	8r,   