
    e                         d Z ddlZddlZddlZddlmZ ddlmZ  G d dej                  Z	e
dk    r ej                     dS dS )zTests for distutils.log    N)	swap_attr)logc                       e Zd Zd ZdS )TestLogc           	      .   dD ]}|                      |          5  t          j        t          j                    d|          }t          j        t          j                    d|          }t	          j        t          j                  }	 t          t          d|          5  t          t          d|          5  t	          j	        d           t	          j
        d           d d d            n# 1 swxY w Y   d d d            n# 1 swxY w Y   t	          j        |           n# t	          j        |           w xY w|                    d	           |                     |                                                                |d
k    rdn	|dk    rdnd           |                    d	           |                     |                                                                |d
k    rdn	|dk    rdnd           d d d            n# 1 swxY w Y   d S )N)strictbackslashreplacesurrogateescapereplaceignore)errorscp437)encodingr   stdoutstderru   Dεbug	Mėssãgeu   Fαtal	Èrrōrr   r   u   Dεbug	M?ss?ger   u   Dεbug	Mssgeu   Dεbug	M\u0117ss\xe3geu   Fαtal	?rr?ru
   Fαtal	rrru   Fαtal	\xc8rr\u014dr)subTestioTextIOWrapperBytesIOr   set_thresholdDEBUGr   sysdebugfatalseekassertEqualreadrstrip)selfr   r   r   old_thresholds        *  /home/conda/feedstock_root/build_artifacts/python-split_1708115622739/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/distutils/tests/test_log.pytest_non_asciizTestLog.test_non_ascii   s   , 	3 	3FV,, 3 3)"*,,3:6K K K)"*,,3:6K K K # 1#) < <5"3&99 5 5"3&995 5	"5666	"34445 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
 %m4444C%m4444A  !5!5!7!7-3y-@-@))+1X+=+=35 5 5 A  !5!5!7!7+1Y+>+>)/8););13 3 3)3 3 3 3 3 3 3 3 3 3 3 3 3 3 3	3 	3ss   A/HD%"D9)C.	"D.C22D5C26D9D%D		D%D	D%H%D;;CHH	H	N)__name__
__module____qualname__r"        r!   r   r   
   s#        3 3 3 3 3r'   r   __main__)__doc__r   r   unittesttest.supportr   	distutilsr   TestCaser   r#   mainr&   r'   r!   <module>r/      s      				 



  " " " " " "      3 3 3 3 3h 3 3 3@ zHMOOOOO r'   