/snap/core18/2979/usr/lib/python3.6/test/libregrtest/__pycache__
NameSizeModeActions
cmdline.cpython-36.pyc135940644editdlrm
main.cpython-36.pyc148300644editdlrm
refleak.cpython-36.pyc58050644editdlrm
runtest.cpython-36.pyc62830644editdlrm
runtest_mp.cpython-36.pyc64730644editdlrm
save_env.cpython-36.pyc133270644editdlrm
setup.cpython-36.pyc24900644editdlrm
utils.cpython-36.pyc16400644editdlrm
__init__.cpython-36.pyc3100644editdlrm
Edit: /snap/core18/2979/usr/lib/python3.6/test/libregrtest/__pycache__/utils.cpython-36.pyc (1640B)
3 Nqix@s>ddlZddlZddlZddZddZddZd d d ZdS) NcCstj|d}t|d\}}t|d\}}t|d\}}g}|rN|jd||r`|jd||rr|jd||r|jd||sdS|dd }d j|S) Ng@@i<z%s hourz%s minz%s secz%s msz0 ms )mathZceildivmodappendjoin)ZsecondsZmsZminutesZhourspartsr ,/usr/lib/python3.6/test/libregrtest/utils.pyformat_durations" r cCsB|sdSx4t|D](\}}tjj|\}}|dkr|||<qWdS)Nz.py) enumerateospathsplitext)namesidxnamebasenameZextr r r removepys rcCs$|dkrd||fSd||fSdS)Nz%d %sz%d %ssr )nZwordr r r count%s rFcCs:d|}ttjdjddt|D|||d|ddS)zPrint 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 6szprintlist..)Zinitial_indentZsubsequent_indent)fileN)printtextwrapZfillrsorted)xwidthindentrZblanksr r r printlist,sr%)rrN)os.pathrrr r rrr%r r r r s