SILENT KILLERPanel

Current Path: > > usr > > lib64 > python2.7 > unittest


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr//lib64/python2.7/unittest

NameTypeSizeLast ModifiedActions
test Directory - -
__init__.py File 2782 bytes April 10 2024 04:58:35.
__init__.pyc File 3037 bytes April 10 2024 04:58:46.
__init__.pyo File 3037 bytes April 10 2024 04:58:46.
__main__.py File 238 bytes April 10 2024 04:58:35.
__main__.pyc File 488 bytes April 10 2024 04:58:46.
__main__.pyo File 488 bytes April 10 2024 04:58:46.
case.py File 43984 bytes April 10 2024 04:58:35.
case.pyc File 41678 bytes April 10 2024 04:58:46.
case.pyo File 41678 bytes April 10 2024 04:58:46.
loader.py File 13497 bytes April 10 2024 04:58:35.
loader.pyc File 11376 bytes April 10 2024 04:58:46.
loader.pyo File 11236 bytes April 10 2024 04:58:44.
main.py File 9083 bytes April 10 2024 04:58:35.
main.pyc File 7996 bytes April 10 2024 04:58:46.
main.pyo File 7996 bytes April 10 2024 04:58:46.
result.py File 6308 bytes April 10 2024 04:58:35.
result.pyc File 7925 bytes April 10 2024 04:58:46.
result.pyo File 7925 bytes April 10 2024 04:58:46.
runner.py File 6533 bytes April 10 2024 04:58:35.
runner.pyc File 7631 bytes April 10 2024 04:58:46.
runner.pyo File 7631 bytes April 10 2024 04:58:46.
signals.py File 2411 bytes April 10 2024 04:58:35.
signals.pyc File 2781 bytes April 10 2024 04:58:46.
signals.pyo File 2781 bytes April 10 2024 04:58:46.
suite.py File 9809 bytes April 10 2024 04:58:35.
suite.pyc File 10538 bytes April 10 2024 04:58:46.
suite.pyo File 10538 bytes April 10 2024 04:58:46.
util.py File 4606 bytes April 10 2024 04:58:35.
util.pyc File 4518 bytes April 10 2024 04:58:46.
util.pyo File 4518 bytes April 10 2024 04:58:46.

Reading File: //usr//lib64/python2.7/unittest/util.pyc

�
{fc@s�dZddlmZmZeZdZed�Zd�Z	d�Z
ed�Zedd	�Zd
�Z
d�Zd�Zd
S(sVarious utility functions.i����(t
namedtupletOrderedDictiPcCs\yt|�}Wn tk
r2tj|�}nX|sLt|�tkrP|S|t dS(Ns [truncated]...(treprt	Exceptiontobjectt__repr__tlent_MAX_LENGTH(tobjtshorttresult((s%/usr/lib64/python2.7/unittest/util.pyt	safe_reprs
cCsd|j|jfS(Ns%s.%s(t
__module__t__name__(tcls((s%/usr/lib64/python2.7/unittest/util.pytstrclassscCshd}}g}g}xEtr]y||}||}||kr}|j|�|d7}x�|||kry|d7}q\Wn�||kr�|j|�|d7}x|||kr�|d7}q�Wn^|d7}z%x|||kr�|d7}q�WWd|d7}x|||kr |d7}qWXWqtk
rY|j||�|j||�PqXqW||fS(srFinds elements in only one or the other of two, sorted input lists.

    Returns a two-element tuple of lists.    The first list contains those
    elements in the "expected" list but not in the "actual" list, and the
    second contains those elements in the "actual" list but not in the
    "expected" list.    Duplicate elements in either input list are ignored.
    iiN(tTruetappendt
IndexErrortextend(texpectedtactualtitjtmissingt
unexpectedteta((s%/usr/lib64/python2.7/unittest/util.pytsorted_list_differences:
	








	cCsg}g}x�|r�|j�}y|j|�Wntk
rR|j|�nX|rxI||fD]8}yxtr�|j|�qrWWqftk
r�qfXqfWqqW|rxU|r|j�}|j|�yxtr�|j|�q�WWq�tk
rq�Xq�W||fS||fS(s�Same behavior as sorted_list_difference but
    for lists of unorderable items (like dicts).

    As it does a linear search per item (remove) it
    has O(n*n) performance.
    (tpoptremovet
ValueErrorRR(RRtignore_duplicateRRtitemtlst((s%/usr/lib64/python2.7/unittest/util.pytunorderable_list_difference>s4	
	
	
	

tMismatchsactual expected valuecCs�t|�t|�}}t|�t|�}}t�}g}x�t|�D]�\}}	|	|krlqNnd}
}x>t||�D]-}|||	kr�|
d7}
|||<q�q�Wx=t|�D]/\}}
|
|	kr�|d7}|||<q�q�W|
|krNt|
||	�}|j|�qNqNWx�t|�D]�\}}	|	|krTq6nd}x>t||�D]-}|||	krj|d7}|||<qjqjWtd||	�}|j|�q6W|S(sHReturns list of (cnt_act, cnt_exp, elem) triples where the counts differii(tlistRRt	enumeratetranget	_MismatchR(RRtstttmtntNULLR
Rtelemtcnt_stcnt_tRt
other_elemtdiff((s%/usr/lib64/python2.7/unittest/util.pyt_count_diff_all_purposeds<	



cCs8t�}x(|D] }|j|d�d||<qW|S(s@Return dict of element counts, in the order they were first seenii(Rtget(titerabletcR.((s%/usr/lib64/python2.7/unittest/util.pyt_ordered_count�s	
c	Cs�t|�t|�}}g}xZ|j�D]L\}}|j|d�}||kr,t|||�}|j|�q,q,WxH|j�D]:\}}||kr�td||�}|j|�q�q�W|S(sHReturns list of (cnt_act, cnt_exp, elem) triples where the counts differi(R7titemsR4R(R(	RRR)R*R
R.R/R0R2((s%/usr/lib64/python2.7/unittest/util.pyt_count_diff_hashable�sN(t__doc__tcollectionsRRRt
__unittestRtFalseRRRR#R(R3R7R9(((s%/usr/lib64/python2.7/unittest/util.pyt<module>s
		)$	#	

SILENT KILLER Tool