Your IP : 3.135.220.239
�
c��f_ � � � d dl mZmZ d dlmZ dZdZdZdZdZ dZ
eeez e
z ez e z z
Zd� Zd� Z
dd
�Zd� Zd� Zd
� Zd� Z edd� � Zd� Zd� ZdS )� )�
namedtuple�Counter)�commonprefixT�P � � c � � t | � � |z
|z
}|t k r(d| d |� || t | � � |z
d � fz } | S )Nz%s[%d chars]%s)�len�_PLACEHOLDER_LEN)�s� prefixlen� suffixlen�skips �4/opt/alt/python311/lib64/python3.11/unittest/util.py�_shortenr sW � ��q�6�6�I�� �)�D�������*�9�*�
�t�Q�s�1�v�v� �7I�7J�7J�5K�L�L���H� c � ��� t t t | � � � � } t t t | � � � � }|t
k r| S t
| � � �t �� � �t
|�z
t z t z z
}|t k r2t �t |� � �t ��fd�| D � � � � S t �t t � � �t ��fd�| D � � � � S )Nc 3 �2 �K � | ]}�|�d � z V � �d S �N� ��.0r �prefixr
s ��r � <genexpr>z'_common_shorten_repr.<locals>.<genexpr>'