Current File : //home/strato/chroot/opt/RZpython2/lib/python2.7/test/test_opcodes.pyo
�
��#ec@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((s1/opt/RZpython2/lib/python2.7/test/test_opcodes.pyttest_try_inside_for_loops*



cCs�dd
d��Y}d|fd��Y}ddd��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__(((s1/opt/RZpython2/lib/python2.7/test/test_opcodes.pyRstBClasscBseZRS((R
R(((s1/opt/RZpython2/lib/python2.7/test/test_opcodes.pyRstCClasscBseZRS((R
R(((s1/opt/RZpython2/lib/python2.7/test/test_opcodes.pyRstDClasscBseZd�ZRS(cSsdS(N((Rtignore((s1/opt/RZpython2/lib/python2.7/test/test_opcodes.pyt__init__s(R
RR(((s1/opt/RZpython2/lib/python2.7/test/test_opcodes.pyRssno exception(((RtassertEqualRtassertIsInstance(RRRRRtatbtv((s1/opt/RZpython2/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: Noneslambda 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((s1/opt/RZpython2/lib/python2.7/test/test_opcodes.pyttest_compare_function_objectsGs0cCs1dtfd��Y}|j|�dd�dS(NtMyStringcBseZd�ZRS(cSsdS(Ni*((Rtvalue((s1/opt/RZpython2/lib/python2.7/test/test_opcodes.pyt__mod__ks(R
RR!(((s1/opt/RZpython2/lib/python2.7/test/test_opcodes.pyRjsii*(tstrR(RR((s1/opt/RZpython2/lib/python2.7/test/test_opcodes.pyt test_modulo_of_string_subclassesis(R
RRRRR#(((s1/opt/RZpython2/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(((s1/opt/RZpython2/lib/python2.7/test/test_opcodes.pyt	test_mainps

t__main__(ttest.test_supportRRtunittesttTestCaseRR%R
(((s1/opt/RZpython2/lib/python2.7/test/test_opcodes.pyt<module>s
j