관리-도구
편집 파일: util.cpython-310.opt-2.pyc
o 6��f_ � @ s� d dl mZmZ d dlmZ dZdZdZdZdZ dZ eee e e e Zdd� Zd d � Z ddd �Zdd� Zdd� Zdd� Zdd� Zedd�Zdd� Zdd� ZdS )� )� namedtuple�Counter)�commonprefixT�P � � c C sB t | �| | }|tkrd| d |� || t | �| d � f } | S )Nz%s[%d chars]%s)�len�_PLACEHOLDER_LEN)�s� prefixlenZ suffixlen�skip� r �4/opt/alt/python310/lib64/python3.10/unittest/util.py�_shorten s &r c s� t tt| ��} ttt| ��}|tkr| S t| �� t� ��t|� t t }|t kr<t � t|�� t � �fdd�| D ��S t � tt �� t � �fdd�| D ��S )Nc 3 s � | ]}� |�d � V qd S �Nr ��.0r ��prefixr r r � <genexpr>'