관리-도구
편집 파일: util.cpython-34.pyo
� j f5 � @ 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 sX t | � | | } | t k rT d | d | � | | t | � | d � f } n | S)Nz%s[%d chars]%s)�len�_PLACEHOLDER_LEN)�s� prefixlenZ suffixlen�skip� r �2/opt/alt/python34/lib64/python3.4/unittest/util.py�_shorten s 4r 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>'