Current File : //opt/imh-python/lib/python2.7/test/test_bytes.pyc
�
��Wc@s�dZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z
ddlZ
ejj
r�d�Zn	d�Zdfd��YZdejfd��YZd	efd
��YZdejfd��YZd
ejfd��YZde
jje
jjfd��YZdefd��YZdejfd��YZd�Zedkr�e�ndS(s�Unit tests for the bytes and bytearray types.

XXX This is a mess.  Common tests should be unified with string_tests.py (and
the latter should be modernized).
i����Ncs"tj���fd��}|S(Ncs0tjjdtf���||�SWdQXdS(Nt(ttestttest_supporttcheck_warningstBytesWarning(targstkw(tfunc(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pytwrappers(t	functoolstwraps(RR((Rsh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pytcheck_bytes_warningsscCs|S(N((R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyRst	IndexablecBseZdd�Zd�ZRS(icCs
||_dS(N(tvalue(tselfR
((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt__init__!scCs|jS(N(R
(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt	__index__#s(t__name__t
__module__RR(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR st
BaseBytesTestcBs�eZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	e
d��Zd	�Zd
�Z
d�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z!d�Z"d �Z#d!�Z$d"�Z%d#�Z&d$�Z'd%�Z(d&�Z)d'�Z*d(�Z+d)�Z,RS(*cCs?|j�}|jt|�|j�|j|j|j�dS(N(t	type2testtassertEqualttypet	__class__(Rtb((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_basics)scs9|j��|jt��d�|jt�fd��|jt�fd��|jt�fd��|jt�fd��|jt�fd��|jt�fd��|jt�fd��|jt�fd	��|jt�fd
��|jt�fd��|jt�fd��dS(
Nics�dS(Ni(((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt<lambda>1scs�dS(Ni(((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR2scs�tjS(N(tsystmaxint((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR3scs�tjdS(Ni(RR((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR4scs�dS(Ni
idlDG��d�r���Y�|g�O�s&YR5I(((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR5scs�dS(Ni����(((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR6scs�dS(Ni����(((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR7scs�tjS(N(RR((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR8scs�tjdS(Ni(RR((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR9scs�tjdS(Ni(RR((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR:scs�dS(Ni
idlDG��d�r���Y�|g�O�s&YR5Il��DG��d�r���Y�|g�O�s&YR5I(((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR;s(RRtlentassertRaisest
IndexError(R((Rsh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_empty_sequence.scCs[ttd��}|jd�|D��}|jt|�d�|jt|�|�dS(Nicss|]}|VqdS(N((t.0ti((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pys	<genexpr>?s(tlisttrangeRRR(RtintsR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_from_list=scCs�|jt�td�td�td�g�}|jt|�ddddg�|jt|jtd�g�|jt|jtd�g�dS(Nii�i�ii����i(RRRR#Rt
ValueError(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_from_indexCs
"cCs�|j|jd�d�|j|jd�d�|j|jd�d�|jt|jd�|j|jdd	�d�|j|jd�d�|jt|jtjd�dS(
NiRititi����t0tascii(RRRR't
OverflowErrorRtmaxsize(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_from_ssizeJscCs{|jt|jd�ddd��Y}|jt|jdg�|jt|jdg�|jt|j|�g�dS(NgtCcBseZRS((RR(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR0Vs((Rt	TypeErrorRtNone(RR0((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_constructor_type_errorsTs
cCs|jt|jdg�|jt|jtjg�|jt|jtjdg�|jt|jtjdg�|jt|jd	g�|jt|jdg�|jt|jdg�|jt|jtjg�|jt|jtjdg�|jt|jd
g�dS(Ni����iii
idiilDG��d�r���Y�|g�O�s&YR5Il��DG��d�r���Y�|g�O�s&YR5IlDG��d�r���Y�|g�O�s&YR5I(RR'RRR(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_constructor_value_errors^s!! cCsv|jdddg�}|jdddg�}|jddg�}|j||�|j||k�|j||k�|j||k�|j||k�|j||k�|j||k�|j||k�|j||k�|j||k�|j||k�|j||k�|j||k�|j||k�|j||k�|j||k�dS(Niii(RRt
assertTruetassertFalse(Rtb1tb2tb3((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_comparejs&cCs�|j|jd�dkt�|j|jd�dkt�|j|jd�dkt�|j|jd�dkt�|j|j�t�kt�|j|j�t�kt�dS(Ntabcuabctabctabctabc(RRtFalsetunicodetTrue(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_compare_to_str�scCsTtttd��}|j|�}tt|��}|j�|j||�dS(NtHello(R#tmaptordRtreversedtreverseR(RtinputRtoutput((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_reversed�s

cs��fd�}|d�}�j|d |d���j|dd!|d���j|dd!|d���j|d|d	���j|dd
!|d	���j|dd!|d	���j|d |d���j|d
d!|d���j|dd!|d���j|d|d	���j|dd
!|d	���j|dd!|d	���j|dd!|d��dS(Ncs�jtt|��S(N(RRDRE(ts(R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pytby�ssHello, worldiRCitellois, tworldiidi����i����i����i����(R(RRLR((Rsh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_getslice�sc
Cs�ttd��}|j|�}d}xg|D]_}xV|D]N}xE|dD]9}|j||||�|j||||���qLWq;Wq.WdS(Ni�iiiiidi����i����i��i����(
iNiiiidi����i����i��i����(R#R$RR2R(RtLRtindiceststarttstoptstep((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_extended_getslice�s

cCs�d}xBdD]:}|j||�}|j||j|j|���q
W|jt|j|d�|j|dd�}|j||j|d d��dS(	NuHello world
ሴ噸骼�tutf8tutf16tlatin1tignorei����sutf-8(sutf8sutf16(RRtencodeRtUnicodeEncodeError(RtsampletencR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_encoding�s
&cCs�d}x9d
D]1}|j||�}|j|j|�|�q
Wd}|j|d�}|jt|jd�|j|jdd�d�|j|jddd	d�d�dS(NuHello world
ሴ噸骼\def0\def0RVRWuHello world
€þÿRXRYsHello world
terrorstencoding(sutf8sutf16(RRtdecodeRtUnicodeDecodeError(RR\R]R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_decode�s
cCs�|jd�}|j||j��|jd�}|j||jdgd��|jd�}|j||jdgd��dS(Nii
i'(RR(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_from_int�s cs�|jd��|jd��|j��d�|j�td�d�|jtd��d�|jt�fd��|jt�fd��dS(Ntabctdeftabcdeftdefabccs�dS(Nudef(((R7(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�scsd�S(Nuabc(((R8(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�s(RRtbytesRR1(R((R7R8sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_concat�scs�x�d|jd�fD]��|j�dd�|j�dd�|j�dd�|jt�fd��|jt�fd��|jttf�fd	��qWdS(
NReit	abcabcabciRi����cs�dS(Ng��Q�	@(((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�scsd�S(Ng��Q�	@(((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�scs�tjS(N(RR.((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�s(RRRR1R-tMemoryError(R((Rsh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_repeat�scCs7|j|jd�d|jtd�gd��dS(Ntxid(RRRE(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_repeat_1char�scs�|jd��|jtd���|jttd����|jd��|jt�fd��|jt�fd��|jt�fd��|jt�fd��|jt�fd��xtt	fD]�}|j|d	���|j|d���|j|d
���|j|d���|j|d���|j|d
���|j|d���|j|d���|j|d���|j|d���|j|d���q�WdS(NRetai�cs
d�kS(Ni,(((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�scs
d�kS(Ni����(((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�scs
d�kS(N(R2((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�scsttd���kS(NRp(tfloatRE((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�scs
d�kS(Nua(((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�sRRtctabtbctactdtdabtabd(
RtassertInREtinttassertNotInRR'R1Rit	bytearray(Rtf((Rsh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_contains�s*cCs;|jt|jj�|jt|jjd�|j|jjd�|j��tdddg�}|j|jjd�|�|j|jjd�|�|j|jjd�d	�|jt|jjd
�|jt|jjd�|jt|jjd�|jt|jjd
�|jt|jjd�dS(Niuii+i0u1a2B30u  1A 2B  30   u0000tuaurtu1a b cduu12      34(RR1RtfromhexRR|R'(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_fromhex�s"cCs2|j|jd�jg�d�|j|jd�jdg�d�x�dgddgddgdddggD]�}tt|j|��}|j|jd�j|�d�|j|jd�jt|��d�|j|jd�jt|��d�qrW|j|jd�jdd	g�d
�dS(NRReRpRtRsRrRt.tcdsab.cd(RRtjoinR#RDttupletiter(Rtlst((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt	test_joins"%1"(,cCs^|jd�}|j|jd�d�|j|jd�d�|j|jd�d�dS(NtmississippiR"itssitwi(RRtcount(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_countscCs�|jd�}|j|j�jd��|j|jd��|j|jd��|j|jd��|j|jd��|j|jd��dS(Nthellotanythingthelththellowtha(RR6t
startswithR5(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_startswithscCs�|jd�}|jt�jd��|j|jd��|j|jd��|j|jd��|j|jd��|j|jd��dS(NR�R�tllototwhellotno(RR6R|tendswithR5(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_endswith%scCs�|jd�}|j|jd�d�|j|jdd�d�|j|jddd�d�|j|jddd�d�|j|jd	�d�|j|jd
�d�dS(NR�R�iiiiii����R�t
mississippian(RRtfind(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt	test_find.scCs�|jd�}|j|jd�d�|j|jdd�d�|j|jddd�d�|j|jd�d	�|j|jd
�d	�dS(NR�R�iiiiiR�i����R�(RRtrfind(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_rfind7scCsq|jd�}|j|jd�d�|j|jd�d�|jt|jd�|jt|jd�dS(NRNR�itorlitwormtldo(RRtindexRR'(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_index?s
cCsq|jd�}|j|jd�d�|j|jd�d�|jt|jd�|jt|jd�dS(NRNR�iR�iR�R�(RRtrindexRR'(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_rindexFs
cCsK|jd�}|j|jdd�d�|j|jdd�d�dS(NR�R"RptmassassappaR�Rnt	mixixippi(RRtreplace(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_replaceNscCs#|jt|jd�jd�dS(Nsa bu (RR1Rtsplit(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_split_string_errorSscCsex6dD].}|j|�}|j|j�|g�qW|jd�}|j|j�dg�dS(Nsabsabsabsabs		

s(sabsabsabsab(RRR�(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_split_unicodewhitespaceVs

cCs#|jt|jd�jd�dS(Nsa bu (RR1Rtrsplit(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_rsplit_string_error]scCs,|jd�}|j|j�dg�dS(Ns		

s(RRR�(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_rsplit_unicodewhitespace`scCsE|jd�}|j|jd�d�|j|jd�d�dS(	NR�R�tmitissippiR�R(R�sssR�(smississippiRR(RRt	partition(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_partitiondscCs^|jd�}|j|jd�d	�|j|jd�d
�|j|jd�d�dS(NR�R�tmissitippiR"t
mississippRR�(R�sssR�(R�R"R(RRsmississippi(RRt
rpartition(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_rpartitioniscCssxlttjd�D]W}xNdD]F}|j|�}tj||�}tj|�}|j||�q!WqWdS(NiRRpRes�ab�t�(RRpsabcs�ab�R�(R$tpickletHIGHEST_PROTOCOLRtdumpstloadsR(RtprotoRtpstq((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_picklingos
cCs||j|jd�jtd��d�|j|jd�jtd��d�|j|jd�jtd��d�dS(NReRuRRtRs(RRtstript
memoryviewtlstriptrstrip(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_strip_bytearrayws((cCsa|jt|jd�jd�|jt|jd�jd�|jt|jd�jd�dS(NReub(RR1RR�R�R�(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_strip_string_error|scCsb|jd�}|jgtt|��D]}t|||d!�^q(dddddg�dS(NtA��iiiAii�i�(RRR$RRE(RRR"((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_ord�s9cCs�|jd�}|jd�}|jd�}|jd�}|jd�}|jd|j|d��|jd|j|dd��|jd|j|dd��|jd	|j|dd��|jd|j|d��|jd|j|dd��|jd|j|dd��|jd	|j|dd��|jd|j|d��|jd|j|dd��|jd|j|dd��|jd	|j|dd��|jd|j|d��|jd|j|dd��|jd|j|dd��|jd	|j|dd��|jd|j|d��|jd
|j|dd��|jd
|j|dd��|jd	|j|dd��|jt|j	|d��|jt|j	|dd��|jt|j	|dd��|jt
|j	|dd��|jt|j|d��|jt|j|dd��|jt|j|dd��|jt
|j|dd��dS(NR�tlR�RnR�iii����ii(RRR�R2R�R�R�R�RAR�R?R�(RRR�R�RnR�((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_none_arguments�sBcCs|jd�}|jd�}|jtd|j|ddd�|jtd|j|ddd�|jtd|j|ddd�|jtd|j|ddd�|jtd|j|ddd�|jtd|j	|ddd�|jtd	|j
|ddd�dS(
NR�Rns\bfind\bs	\brfind\bs	\bindex\bs
\brindex\bs	\bcount\bs\bstartswith\bs\bendswith\b(RtassertRaisesRegexpR1R�R2R�R�R�R�R�R�(RRRn((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt*test_find_etc_raise_correct_error_messages�s cCs6tjj|t|j�tjj|t|j�dS(N(RRtcheck_free_after_iteratingR�RRF(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_free_after_iterating�s(-RRRR R&R(R/R3R4R:RRBRJRORUR^RcRdRjRmRoR~R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR'sT					
	
																																						+	t
ByteArrayTestcBs�eZeZd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd�Zd	�Z
d
�Zd�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(cCs|jttt��dS(N(RR1thashR|(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_nohash�sc
CsKd}|ddt|�}tj�}z�t|d��}|j|�WdQXt|d��"}td�}|j|�}WdQX|j|t|��d�|D�}|jt|�t|��t|d��}|j|�WdQXt|d��}|j|j	�|�WdQXWdyt
j|�Wnt
jk
rEnXXdS(NsHello world
R)itwbtrbcss|]}t|�VqdS(N(RE(R!RK((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pys	<genexpr>�s(
RttempfiletmktemptopentwriteR|treadintoRR#treadtostremoveterror(Rtshort_sampleR\ttfnR}Rtntb_sample((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_bytearray_api�s( cCs|td�}|j|j�d�|j|d�td�}|j�|j|d�t�}|j�|j|�dS(NR�tollehthello1t1olleh(R|RRGR2R6(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_reverse�s
	
cCsGd�}|d�}|jtjd|�|d�|d�g�dS(NcSsttt|��S(N(R|RDRE(RK((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyRL�ssHello, worlds\w+RCRN(Rtretfindall(RRLR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_regexps�s	cCs�tdddg�}d|d<|j|tdddg��d|d<|j|tdddg��td�|d<|j|tdddg��yd|d<|jd	�Wntk
r�nXyd|d
<|jd	�Wntk
r�nXyd|d<|jd�Wntk
r"nXy!td�|d<|jd�Wntk
rWnXyd|d<|jd
�Wntk
r�nXdS(Niiiidi�i����i
isDidn't raise IndexErrori����isDidn't raise ValueErrorsDidn't raise TypeError(R|RRtfailRR'R2R1(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_setitem�s@










c
Cs�ttd��}|d=|j|ttdd���|d=|j|ttdd���|d=|j|tddddd	d
dg��dS(Ni
iii����i	iiiiii(R|R$R(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_delitemscCs?ttd��}|jt|�ttd���tdddddg�|dd+|j|tddddddddddg
��|dd	5|j|tdddddg��tddd
ddg�|dd+|j|ttd���td
dg�|dd+|j|tddd
d
ddddg��ddddg|dd+|j|ttd���dddg|dd+|j|tddd
ddddddddddg
��d|d)|j|tddd
dddg��td�|d*|j|tddddddg��g|dd+|j|tdddddg��td�|d)|j|tdddddg��xXdd	dtd�ddddggggD])}|jt��||dd+WdQXq�WxFdddgdd ggD])}|jt��||dd+WdQXqWdS(!Ni
iiiiiii	i����iiiidiei����i����i*tfooifiotuuuuiugP����KDustrgffffff@uaubi�i�ii���i(#(	R|R$RR#R�tlongRR1R'(RRtelem((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_setslice's8""4
%".=
((
%%4"cCsdddddddddd	d
f}x�|D]�}x�|D]�}x�|dD]�}ttd��}t|�}||||�}|j�|||||�<|||||�<|j|t|��||||�=||||�=|j|t|��qLWq;Wq.WdS(
Niiiii,iMi����i����i��i���i�l(R2R#R$R|RGR(RRQRRRSRTRPRtdata((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_extended_set_del_sliceQs'


cCsRttd��}||d)|j|tttd��ttd����dS(Nii(R|R$RR#(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_setslice_trapes
cCs�td�}|}|d7}|j|d�|j||�|j||k�|d7}|j|d�y|d7}Wntk
r�nX|jd�dS(NReRfRgtxyzt	abcdefxyzus'bytes += unicode didn't raise TypeError(R|RR5R1R�(RRR7((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_iconcatls


cCsStd�}|}|d9}|j|d�|j||�|j||k�dS(NReiRk(R|RR5(RRR7((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_irepeat|s
cCsWtd�}|}|d9}|j|dd�|j||�|j||k�dS(NRnid(R|RR5(RRR7((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_irepeat_1char�s
cCs�t�}|j�}|j|dk�|g}x\td�D]N}|d7}|j�}|j|t|��||kr>|j|�q>q>WdS(NiidRn(R|t	__alloc__R5R$t
assertGreaterRtappend(RRtalloctseqR"((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_alloc�s		
cs�t����fd�}�j|���jt��ttdd����jt��d��j�}�j|t���dS(Nc3s�x�tdd�D]�}|Vt��}�j|ttdt|�d����jt��t|���jt��|��j�}�j|t���qWdS(Niid(R$R#RRtassertLessEqualR�R�(R"RpR�(RR(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pytg�s)iidic(R|RRR#R$RR�R�(RRR�((RRsh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_init_alloc�s		%cCs�d}t|�}|j|�|j|||�|j|d|�td�}|jtt|d��|jd�|dD��|j||d�|j|d|�td�}|jttt|d���|j||d�|j|d|�td�}|jttt|d���|j||d�|j|d|�td�}|jt|jdd	d
dg�|jt|jdd	d
dg�|jt	|�d�td�}|jt
td
��g�|j|d
�dS(NR�iRicss|]}t|�VqdS(N(RE(R!Rn((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pys	<genexpr>�si2i����iiiii����Rp(R|textendRRDRER�R#RR'RR(RtorigRp((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_extend�s2
  ""cs�td���jtd��|j�d��jtd��|j�d�|jt�fd��|jt�fd��|jt�fd���jtd���jtd	��|j�d
�|jt�fd���jttd
���|j�d�td
dddg�}|jd�|j|td
ddg��|jd�|j|td
dg��dS(NR�R�thelotheocs�jtd��S(NR�(R�RE((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�scs
�jd�S(Ni�(R�((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�scs
�jd�S(Nue(R�((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�sR�R�tecs
�jd�S(Nue(R�((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�sRi~ii�i�(R|R�RERRR'R1R(RRr((Rsh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_remove�s&

cs�td��|j�j�td��|j�jd�td��|j�jd�td��|jt�fd��|jtd��|jtd	�j�d
�dS(NRNRviR�i����trcs
�jd�S(Ni
(tpop((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�scSs
t�j�S(N(R|R
(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�ss�i�(R|RR
RERR(R((Rsh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_pop�scCs|jtd��dS(NcSs
t�j�S(N(R|tsort(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�s(RtAttributeError(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_nosort�scs�td���jtd��|j�d�|j�jd�d�t���jtd��|jt��d�|jt�fd��t���jttd���|j�d�dS(NthellR�R�idtAics
�jd�S(Nuo(R�((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�s(	R|R�RERR2RRR1R(R((Rsh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_append�s		cCs�td�}|jdtd��|jdtd��|jdtd��|jdtd��|j|d�t�}|jdttd	���|j|d	�dS(
NtmssssppiR"ii����i�R�iR(R|tinsertRERR(RR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_insert�s	cCstd�}|j||jddd�k�tgtd�D]}|^q>�}td�}|j||j|�k�dS(NRetcdeiiR(R|R6R�R$t	translate(RRR"ttRn((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_copieds
"%cCsVtd�jd�\}}}|j|d�|j|d�|j||k	�|d7}|j|d�td�jd�\}}}|j|d�|j|d�td�jd�\}}}|j|d�|j|d�|j||k	�|d7}|j|d�td�jd�\}}}|j|d�|j|d�dS(NRntyRt!(R|R�RR5R�(RRpRRr((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt0test_partition_bytearray_doesnt_share_nullstrings$

csYttd���t��}�fd�}|d��}|jt|d�|j�|�|jt|d�|j�|�|jt|d�|j�|�|jt�jd�|j�|�|jt�j�d�|j�|��fd�}|jt|�|j�|��fd�}|jt|�|j�|�dS(	Ni
cs&t|dd|d��dd+dS(Niii����(R$(R�(R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pytresize*sii	iics�d=dS(Ni(((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pytdelitem9scsd�ddd�<dS(NRii����i(((R(sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pytdelslice>s(R|R$R�RtBufferErrorRR
R�(RtvRRR R!((Rsh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_resize_forbidden#s*
cCs|jtttd��dS(NR(RR'RzR|(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_empty_bytearrayCscCs�|jdddg�}t|�}t|�}x|D]}t|�q7W|jd�|jt|�g�|jt|�dg�|j||jddddg��dS(Niiii	(RR�tnextR�RR#(RRptexhittempitRn((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_exhausted_iteratorIs

(RRR|RR�R�R�R�R�R�R�R�R�R�R�R�RRRRRRRRRRR$R%R)(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR��s4					"			*										
		
	
	
		 	tAssortedBytesTestcBsqeZed��Zd�Zejjd��Zd�Z	ed��Z
d�Zd�Zd�Z
d�ZRS(	cCs�x�ttfD]�}|j|t��d�|j|tdg��d�|j|tddddg��d�|j|d�d	�|j|d
�d�|j|d�d
�q
WdS(Nsbytearray(b'')isbytearray(b'\x00')ii�i�sbytearray(b'\x00\x01\xfe\xff')Resb'abc't'sb"'"s'"sb'\'"'(tstrtreprRR|(RR}((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_repr_strYs!cCs�|jdtd�kt�|jdtd�kt�|jdtd�kt�|jdtd�kt�|jdtd�kt�|jdtd�kt�|jdtd�kt�|jdtd�kt�|jdtd�kt�|jdtd�kt�|jdtd�kt�|jdtd�kt�|jtd�dkt�|jtd�dkt�|jtd�dkt�|jtd�dkt�|jtd�dkt�|jtd�dkt�|jtd�dkt�|jtd�dkt�|jtd�dkt�|jtd�dkt�|jtd�dkt�|jtd�dkt�dS(NReRs(RRiRAR?(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_compare_bytes_to_bytearrayds0cCsb|jtj�|jtjjd�tj�|jtj�|jtjjd�tj�dS(Ns
bytearray(sbytes((tassertIsNotNoneR|t__doc__R5R�Ri(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_doc�scCs>td�}t|�}t|�}|j|t|��dS(NsHello world
����(RiR�R|R(RR\tbufR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_from_bytearray�scCs�|jtd�d�|jtd�d�|jtd�d�|jttd��d�|jttd��d�|jttd��d	�dS(
NRsb''Rnsb'x's�sb'\x80'sbytearray(b'')sbytearray(b'x')sbytearray(b'\x80')(RR,R|(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_to_str�scCs}d	d
ddg}x-|D]%\}}|j|t|d��qWx4tdd�D]#}|jttdt|��qRWdS(
NsWonderful spamsWonderful spam toos��s\xaa\x00\000\200slatin-1i�isb"%s"(sWonderful spamsWonderful spam(sWonderful spam toosWonderful spam too(s��s��(s\xaa\x00\000\200s\xaa\x00\000\200(RR|R$RtSyntaxErrortevaltchr(RttestsRRKRr((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_literal�s	cCsd}t|�}ttdd��}td�|td�<|j|d�}|j|d�|j|d�|j|d�}|j|d�|j|d�|jdd�}|j|d�|jdd�}|j|d�|jt|jdd�|jt|jdd�dS(	NR�iiR
R�R�theethllo(R|R$RERRR2RR1(RRtbatrosettaRr((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_translate�s cCs)|jdjtd��ddg�dS(Nsa bt RpR(RR�R�(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_split_bytearray�scCs)|jdjtd��ddg�dS(Nsa bR@RpR(RR�R�(R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_rsplit_bytearray�s(RRRR.R/RRtrequires_docstringsR2R4R5R:R?RARB(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR*Ts				
		tBytearrayPEP3137TestcBseZd�Zd�ZRS(cCs
t|�S(N(R|(RRn((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pytmarshal�scCs�|jd�}xSdD]K}t||�}|d�}|j||�|j||k	|d�qWxDdD]<}t|�}|j||�|j||k	|d�qlWdS(Nt1234tzfilltrjusttljusttcenteris" returned self on a mutable objectsval.split()[0]sval.rsplit()[0]sval.partition(".")[0]sval.rpartition(".")[2]sval.splitlines()[0]sval.replace("", "")s! returned val on a mutable object(szfillsrjustsljustscenter(sval.split()[0]sval.rsplit()[0]sval.partition(".")[0]sval.rpartition(".")[2]sval.splitlines()[0]sval.replace("", "")(REtgetattrRR5R7(Rtvaltmethnametmethodtnewvaltexpr((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_returns_new_copy�s

(RRRERQ(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyRD�s	tByteArrayAsStringTestcBs;eZeZd�Zd�Zd�Zd�Zd�ZRS(cCsdS(N((R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR~�scCsdS(N((R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_expandtabs�scCsdS(N((R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_upper�scCsdS(N((R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_lower�scCsdS(N((R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt	test_hash�s(	RRR|RR~RSRTRURV(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyRR�s				tByteArraySubclasscBseZRS((RR(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyRW�stByteArraySubclassTestcBs5eZd�Zd�Zd�Zd�Zd�ZRS(cCs:|jttt��|jt�t�d\}}t|�t|�}}|j||k�|j||k�|j||k�|j||k�|j||k�|j||k�|j||k	�|j||||�|j||||�|j||||�|j|d|dk�dS(Ntabcdtefghi(RYRZ(R5t
issubclassRWR|tassertIsInstanceR(RRpRt_at_b((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt
test_basic�scCs�td�}t�j|g�}|j||k	�|jt|�tkt|��|jdg�}|jt|�tk�dS(NRY(RWR|R�R5R(Rts1ts2ts3((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR�s"cCs�td�}d|_td�|_x�ttjd�D]�}tjtj||��}|jt	|�t	|��|j
||�|j
|j|j�|j
|j|j�|j
t|�t|��|j
t|j�t|j��q8WdS(NRYi
RZi(RWRnRR$R�R�R�R�tassertNotEqualtidRR(RRpR�R((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_pickle s	cCs�td�}d|_td�|_x�tjtjfD]�}||�}|jt|�t|��|j||�|j|j|j�|j|j|j�|jt|�t|��|jt|j�t|j��q7WdS(NRYi
RZ(	RWRnRtcopytdeepcopyRcRdRR(RRptcopy_methodR((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt	test_copy-s	cCsadtfd��Y}|ddd�}|j|d�|dddd�}|j|d�dS(NtsubclasscBseZdd�ZRS(ic_stj|||�dS(N(R|R(RtnewargRtkwargs((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyR<s(RRR(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyRj;sitsourceRYRk(R|R(RRjRn((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyttest_init_override:s
(RRR_R�ReRiRn(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyRX�s
		
	
	
cCstjjtttt�dS(N(RRtrun_unittestR�RRRXRD(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt	test_mainCs
	t__main__(R1R�R�RRfR	R�R�tunittestttest.test_supportRttest.string_teststflagst
bytes_warningRRtTestCaseRR�R*RDtstring_testst
CommonTesttNonStringModuleTestRRR|RWRXRpR(((sh/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_bytes.pyt<module>s6	����wJ