Your IP : 216.73.216.213


Current Path : /opt/alt/python36/lib64/python3.6/distutils/tests/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/distutils/tests/__pycache__/test_log.cpython-36.pyc

3

� fH�@shdZddlZddlZddlZddlmZmZddlmZGdd�dej	�Z
dd�Zed	krdee��dS)
zTests for distutils.log�N)�	swap_attr�run_unittest)�logc@seZdZdd�ZdS)�TestLogc Cs*�x"dD�]}|j|d���tjtj�d|d�}tjtj�d|d�}tjtj�}zHttd	|��2ttd
|��tj	d�tj
d�WdQRXWdQRXWdtj|�X|jd
�|j|j
�j�|dkr�dn|dkr�dnd�|jd
�|j|j
�j�|dk�rdn|dk�rdnd�WdQRXqWdS)N�strict�backslashreplace�surrogateescape�replace�ignore)�errors�cp437)�encodingr�stdout�stderruDεbug	MėssãgeuFαtal	ÈrrōrruDεbug	M?ss?geuDεbug	MssgeuDεbug	M\u0117ss\xe3geuFαtal	?rr?ru
Fαtal	rrruFαtal	\xc8rr\u014dr)rrrr	r
)ZsubTest�io�
TextIOWrapper�BytesIOrZ
set_threshold�DEBUGr�sys�debugZfatal�seekZassertEqual�read�rstrip)�selfrrrZ
old_threshold�r�=/opt/alt/python36/lib64/python3.6/distutils/tests/test_log.py�test_non_asciis0





"

zTestLog.test_non_asciiN)�__name__�
__module__�__qualname__rrrrrr
srcCs
tjt�S)N)�unittestZ	makeSuiterrrrr�
test_suite*sr!�__main__)
�__doc__rrr Ztest.supportrrZ	distutilsrZTestCaserr!rrrrr�<module>s