%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/
Upload File :
Create Path :
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/test_pep247.pyo

�
5}�ac@s�dZddlZejdde�ejdde�ddlZddlZddlZddlZddlm	Z	dej
fd��YZd	�Ze
d
kr�e�ndS(sV
Test suite to check compliance with PEP 247, the standard API
for hashing algorithms
i����Ntignoresthe md5 module is deprecated.*sthe sha module is deprecated.*(ttest_supportt
Pep247TestcBs/eZdd�Zd�Zd�Zd�ZRS(c
Cs|jt|d��|j|jdkp7|jdk�|dk	r�|j|�}|j|d�}|j|d�j�}|j|�}|jd�|j�}nU|j�}|jd�}|jd�j�}|j�}|jd�|j�}|j||�|jt|d��|jdk	rN|j|j|j�n|j|jt|��|jd�|j	�}|j|j�|j��|j|j
�|j
��|j�|j
�}	}
d}x"|	D]}|dt|�7}q�W|j||
�dS(Ntdigest_sizeitstringts%02x(t
assertTruethasattrRtNonetnewtdigesttupdatetassertEqualtlentcopyt	hexdigesttord(
tselftmoduletkeytobj1tobj2th1tobj3th2tobj_copyR
Rthd2tbyte((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_pep247.pytcheck_modules:%



cCs|jt�dS(N(Rtmd5(R((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_pep247.pyttest_md5=scCs|jt�dS(N(Rtsha(R((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_pep247.pyttest_sha@scCs|jtdd�dS(NRtabc(Rthmac(R((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_pep247.pyt	test_hmacCsN(t__name__t
__module__RRRR R#(((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_pep247.pyRs(		cCstjt�dS(N(Rtrun_unittestR(((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_pep247.pyt	test_mainFst__main__(t__doc__twarningstfilterwarningstDeprecationWarningR"RRtunittestttestRtTestCaseRR'R$(((s9/opt/plesk/python/2.7/lib64/python2.7/test/test_pep247.pyt<module>s3	

Zerion Mini Shell 1.0