HEX
Server: Apache/2.4.65 (Unix) OpenSSL/1.1.1k
System: Linux vps109042.inmotionhosting.com 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: cisa (1010)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //opt/imh-python/lib/python3.9/distutils/tests/__pycache__/test_log.cpython-39.opt-2.pyc
a

d�hH�@sdddlZddlZddlZddlmZmZddlmZGdd�dej�Z	dd�Z
edkr`ee
��dS)	�N)�	swap_attr�run_unittest)�logc@seZdZdd�ZdS)�TestLogcCsndD�]b}|j|d���>tjt��d|d�}tjt��d|d�}t�tj�}zzttd|��Pttd|��$t�	d�t�
d�Wd�n1s�0YWd�n1s�0YWt�|�nt�|�0|�d	�|�|�
���|d
kr�dn|dk�rd
nd�|�d	�|�|�
���|d
k�r4dn|dk�rBdnd�Wd�q1�s^0YqdS)N)�strict�backslashreplace�surrogateescape�replace�ignore)�errors�cp437)�encodingr�stdout�stderruDεbug	MėssãgeuFαtal	Èrrōrrr	uDεbug	M?ss?ger
uDεbug	MssgeuDεbug	M\u0117ss\xe3geuFαtal	?rr?ru
Fαtal	rrruFαtal	\xc8rr\u014dr)ZsubTest�io�
TextIOWrapper�BytesIOrZ
set_threshold�DEBUGr�sys�debug�fatal�seekZassertEqual�read�rstrip)�selfrrrZ
old_threshold�r�9/opt/imh-python/lib/python3.9/distutils/tests/test_log.py�test_non_asciis8

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