ó {G_Tc@sƒddlZejddeƒddlZddlZddlmZdejfd„ƒYZd„Z e dkre ƒndS( iÿÿÿÿNtignoresthe sha module is deprecated.*(t test_supportt SHATestCasecBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs›tj|ƒ}|jƒ}|j||kƒ|jƒ}|j||kƒ|jƒ}d}x"|D]}|dt|ƒ7}qfW|j||kƒdS(Nts%02x(tshatnewt hexdigestt assertTruetdigesttord(tselftdataRtobjtcomputedtcomputed_againthexdtc((s)/usr/local/lib/python2.7/test/test_sha.pytchecks    cCs|jddƒdS(Ntabct(a9993e364706816aba3e25717850c26c9cd0d89d(R(R ((s)/usr/local/lib/python2.7/test/test_sha.pyt test_case_1#s cCs|jddƒdS(Nt8abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopqt(84983e441c3bd26ebaae4aa1f95129e5e54670f1(R(R ((s)/usr/local/lib/python2.7/test/test_sha.pyt test_case_2's cCs|jdddƒdS(Ntai@Bt(34aa973cd4c4daa4f61eeb2bdbad27316534016f(R(R ((s)/usr/local/lib/python2.7/test/test_sha.pyt test_case_3+s cCs|jtdƒddƒdS(NiªiPt(4ca0ef38f1794b28a8f8ee110ee79d48ce13be25(Rtchr(R ((s)/usr/local/lib/python2.7/test/test_sha.pyt test_case_4/s(t__name__t __module__RRRRR(((s)/usr/local/lib/python2.7/test/test_sha.pyRs     cCstjtƒdS(N(Rt run_unittestR(((s)/usr/local/lib/python2.7/test/test_sha.pyt test_main3st__main__( twarningstfilterwarningstDeprecationWarningRtunittestttestRtTestCaseRR!R(((s)/usr/local/lib/python2.7/test/test_sha.pyts    #