관리-도구
편집 파일: util.cpython-35.opt-1.pyc
��Yf9 � @ s� d Z d d l m Z m Z d d l m Z d Z d Z d Z d Z d Z d Z e e e e e e Z d d � Z d d � Z d d d � Z d d � Z d d � Z d d � Z d d � Z e d d � Z d d � Z d d � Z d d � Z d S) zVarious utility functions.� )� namedtuple�OrderedDict)�commonprefixT�P � � c C sU t | � | | } | t k rQ d | d | � | | t | � | d � f } | S)Nz%s[%d chars]%s)�len�_PLACEHOLDER_LEN)�s� prefixlenZ suffixlen�skip� r �2/opt/alt/python35/lib64/python3.5/unittest/util.py�_shorten s 1r c s� t t t | � � } t t t | � � } | t k r: | St | � � t � � � t | � t t } | t k r� t � t | � � t � � f d d � | D� � St � t t � � t � � f d d � | D� � S)Nc 3 s# | ] } � | � d � Vq d S)Nr )�.0r )�prefixr r r � <genexpr>'