Current File : //opt/imh-python/lib/python2.7/test/test_slice.pyc
�
��Wc@s�ddlZddlZddlmZmZddlmZddlZdejfd��YZ	d�Z
edkr�e
�ndS(i����N(tloadstdumps(ttest_supportt	SliceTestcBsYeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	cCs0|jtt�|jttdddd�dS(Niiii(tassertRaisest	TypeErrortslice(tself((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyttest_constructor
scCs&|jttddd��d�dS(Niiisslice(1, 2, 3)(tassertEqualtreprR(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyt	test_reprscCsC|jtttd��|jt��td�j�WdQXdS(Ni(RRthashRt__hash__(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyt	test_hashscsjtddd�}tddd�}tddd�}|j||�|j||�dtfd��Y�dtf�fd��Y}t|��}t|��}|j�t||�|j||�td|��}td|��}|j||�|j�t||�tdd|��}tdd|��}|j||�|j�t||�dS(	NiiiitExccBseZRS((t__name__t
__module__(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyR!stBadCmpcseZ�fd�ZdZRS(cs
��dS(N((Rtother(R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyt__eq__%sN(RRRtNoneR
((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyR$s(RR	tassertNotEqualt	ExceptiontobjectRtcmp(Rts1ts2ts3R((Rsh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyttest_cmps&cCstd�}|j|jd�|j|jd�|j|jd�tdd�}|j|jd�|j|jd�|j|jd�tddd�}|j|jd�|j|jd�|j|jd�ddd��Y}|�}t|�}|j|j|k�dS(NiiitAnyClasscBseZRS((RR(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyRHs((RR	tstartRtstoptstept
assertTrue(RtsRtobj((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyttest_members8s 	cCs_|jtd�jd�d�|jtddd�jd�d�|jtddd�jd�d�|jtddd�jd�d�|jtddd�jd�d�|jtddd�jd�d�|jtdd	�jd�d�|jtdd
�jd�d�|jtdd�jd�d�|jtdd
d�jd�d�|jtddd�jd�d�|jtddd�jd�d �|jtdd�jd�d!�|jtdd�jd�d"�|jtdd
�jd�d#�|jtddd�jd�d$�|jtddd�jd�d%�|jtddd�jd�d&�|jtdd�jd�td�jd��|jtddd�jd�tddd�jd��|jtddd�jd�d'�|jtd�ddtjd�dg�|jttd�jd(�dS()Ni
iiii����i	i����ii����i����i����i�iii����idl����dldll(ii
i(ii
i(ii
i(i	i����i����(i	i����i����(ii����i����(iii(iii(iii(i	ii����(i	i����i����(i	i����i����(ii	i(ii
i(ii
i(i	ii����(i	i	i����(i	i	i����(ii
il(	R	RRtindicestrangetsystmaxintRt
OverflowError(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyttest_indicesOs6%%%%%"""%%%"""%%%%-csbg�dtf�fd��Y}|�}tj��d|dd+WdQX|j�dg�dS(NtXcseZ�fd�ZRS(cs�j|||f�dS(N(tappend(Rtitjtk(ttmp(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyt__setslice__us(RRR2((R1(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyR,tsi*ii(iii*(RRtcheck_py3k_warningsR	(RR,tx((R1sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyttest_setslice_without_getslicers	
cCs�tddd�}xqdD]i}tt||��}|j||�|j|jd�|jd��|jt|�t|��qWdS(	Ni
iiiiii(iii(RRRR	R&Rtid(RR#tprotocoltt((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyttest_pickle}s
"cCs^ddd��Y}|�}t|�|_tj|�}d}tj�|j|��dS(NtmyobjcBseZRS((RR(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyR:�s((RR#tweakreftrefRRt
gc_collecttassertIsNone(RR:totw((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyt
test_cycle�s	
(RRRRRRR%R+R5R9RA(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyRs						#		cCstjt�dS(N(Rtrun_unittestR(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyt	test_main�st__main__(tunittestR;tcPickleRRttestRR(tTestCaseRRCR(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_slice.pyt<module>s�