Server IP : 192.158.238.246 / Your IP : 3.14.79.99 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python311/lib64/python3.11/unittest/__pycache__/ |
Upload File : |
� �=Og_ � � � d Z ddlmZmZ ddlmZ dZdZdZdZ dZ dZee ez ez ez e z z Zedk sJ �d� Z d � Zdd�Zd� Zd � Zd� Zd� Z edd� � Zd� Zd� ZdS )zVarious utility functions.� )� 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 �V ��� t t t | � � � � } t t t | � � � � }|t k r| S t | � � �t �� � �t |�z t z t z z }|t k rZt t z t z |�z z t k sJ �t �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>'