tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Q\¬Qc@s^ddlmZmZddlZdejfd„ƒYZd„ZedkrZeƒndS(iÿÿÿÿ(t run_unittesttcheck_py3k_warningsNt
OpcodeTestcBs,eZd„Zd„Zd„Zd„ZRS(cCs§d}x~tdƒD]p}||}y ddWn1tk
rBn!tk
rRntk
rbnXyWnnXzWdX||}qW|dkr£|jdƒndS(Nii
iiZstry inside for(tranget    NameErrortZeroDivisionErrort    TypeErrortfail(tselftnti((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyttest_try_inside_for_loops*
     cCsÝdd
d„ƒY}d|fd„ƒY}dd d„ƒY}d|fd„ƒY}y |ƒ‚WnnXy |ƒ‚Wn|k
r‰nXy |ƒ‚Wn|k
rªnXy |ƒ‚Wn!|k
rÕ|jƒnnX|ƒ}|ƒ}y ||‚Wn#|k
r }|j||ƒnX|jd    ƒy
|‚Wn#|k
r]}|j||ƒnX|jd    ƒy ||‚Wntk
r‹nX|jd    ƒy ||‚Wn#|k
rË}|j||ƒnX|jd    ƒdS( NtAClasscBseZRS((t__name__t
__module__(((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyR stBClasscBseZRS((R R(((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyRstCClasscBseZRS((R R(((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyRstDClasscBseZd„ZRS(cSsdS(N((Rtignore((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyt__init__s(R RR(((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyRss no exception(((Rt assertEqualRtassertIsInstance(RR RRRtatbtv((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyttest_raise_class_exceptionssX                 
     cCsDtdƒ}tdƒ}|j||ƒtdƒ}tdƒ}|j||ƒtdƒ}tdƒ}|j||ƒtdƒ}tdƒ}|j||ƒtdƒ}tdƒ}|j||ƒtdƒ}tdƒ}|j||ƒtdƒ}tdƒ}|j||ƒtd    ƒ}td
ƒ}|j||ƒdS( Ns lambda: Nones lambda a: as lambda a=1: as    lambda: 0s    lambda: 1slambda a: Noneslambda b: Noneslambda a=None: Noneslambda a=0: Noneslambda a=1: None(tevaltassertNotEqual(Rtftg((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyttest_compare_function_objectsGs0                cCs1dtfd„ƒY}|j|ƒddƒdS(NtMyStringcBseZd„ZRS(cSsdS(Ni*((Rtvalue((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyt__mod__ks(R RR!(((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyRjsii*(tstrR(RR((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyt test_modulo_of_string_subclassesis(R RR RRR#(((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyRs        /    "cCs0tdtfdtfƒttƒWdQXdS(Ns)exceptions must derive from BaseExceptionsEcatching classes that don't inherit from BaseException is not allowed(RtDeprecationWarningRR(((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyt    test_mainps
 t__main__(ttest.test_supportRRtunittesttTestCaseRR%R (((sY/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_opcodes.pyt<module>s
 j