Current File : //usr/lib64/python2.7/site-packages/Crypto/SelfTest/st_common.pyo
�
�/�Oc@s�dZdZddlZddlZddlZejddkrcejddkrcddlTnddlTdejfd	��YZ	d
�Z
d�Zd�Zd
�Z
dS(s%Common functions for SelfTest moduless$Id$i����Niii(t*t_list_testloadercBseZeZRS((t__name__t
__module__tlistt
suiteClass(((s?/usr/lib64/python2.7/site-packages/Crypto/SelfTest/st_common.pyR$scCst�j|�S(s�Return a list of TestCase instances given a TestCase class

    This is useful when you have defined test* methods on your TestCase class.
    (RtloadTestsFromTestCase(tclass_((s?/usr/lib64/python2.7/site-packages/Crypto/SelfTest/st_common.pytlist_test_cases'scCsEt|t�r(tdj|j���Std�j|j��SdS(s,Remove whitespace from a text or byte stringtN(t
isinstancetstrtbtjointsplit(ts((s?/usr/lib64/python2.7/site-packages/Crypto/SelfTest/st_common.pytstrip_whitespace.scCstjt|��S(s2Convert hexadecimal to binary, ignoring whitespace(tbinasciita2b_hexR(R((s?/usr/lib64/python2.7/site-packages/Crypto/SelfTest/st_common.pyR5scCs
tj|�S(sConvert binary to hexadecimal(Rtb2a_hex(R((s?/usr/lib64/python2.7/site-packages/Crypto/SelfTest/st_common.pyR9s(t__doc__t__revision__tunittestRtsystversion_infotCrypto.Util.py21compattCrypto.Util.py3compatt
TestLoaderRRRRR(((s?/usr/lib64/python2.7/site-packages/Crypto/SelfTest/st_common.pyt<module>s&