python (3.12.0)

(root)/
lib/
python3.12/
test/
__pycache__/
test_memoryio.cpython-312.opt-1.pyc

Αe}dZddlZddlmZddlZddlZddlZddlZGddZ	GddZ
Gdd	ZGd
dee
ejZ
Gdd
ZGddee
eejZGddeejZGdde
ZGddeZGddeZedk(rej*yy)zdUnit tests for memory-based file-like objects.
StringIO -- for unicode strings
BytesIO -- for bytes
N)supportceZdZdZdZeZy)IntLikec||_yN_num)selfnums  F/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/test_memoryio.py__init__zIntLike.__init__s		c|jSrrr
s r	__index__zIntLike.__index__syyrN)__name__
__module____qualname__r
r__int__rrrrsGrrc*eZdZdZdZdZdZdZy)MemorySeekTestMixincH|jd}|j|}yN
1234567890)buftypeioclassr
bufbytesIos   rtestInitzMemorySeekTestMixin.testInitsll<(,,s#rct|jd}|j|}|j|dd|jd|j|dd|jd|j|dd|jd|j|j|jy)NrrrassertEqualreadEOFrs   rtestReadzMemorySeekTestMixin.testReadsll<(,,s#Ra',,q/2Qq7<<?3QR',,s"347<<>2rc|jd}|j|}|j||j|j|j|jyrr'rs   rtestReadNoArgsz"MemorySeekTestMixin.testReadNoArgs$sNll<(,,s#glln-7<<>2rcv|jd}|j|}|jd|jd|j	||j|jd|j	|dd|j|jt|jdy)Nrr$r)rrr)seekr(assertRaises	TypeErrorrs   rtestSeekzMemorySeekTestMixin.testSeek+sll<(,,s#QQglln-QQR',,.1)W\\37rcL|jd}|j|}|jd|j|j	d|jd|j|j	d|jd|jyNrrr$i')rrr(tellr1rs   rtestTellzMemorySeekTestMixin.testTell7swll<(,,s#GLLN+QGLLN+U/rN)rrrr!r+r-r4r8rrrrrs$33
80rrceZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdZdZdZy)MemoryTestMixincp|j}|j|j|jyr)rr2UnsupportedOperationdetachr
rs  rtest_detachzMemoryTestMixin.test_detachDs'lln$33SZZ@rc|j|j|dd|j|jdd|j|j|dd|j|jd|j|jdd|j|jd|j|j|dd|j|jdd|j|j|dd	|j|j	d
d
|j|jd	y)Nzblah.r$rzHello.z	 world


	hr#)r(writer1r7truncate)r
fts   r	write_opszMemoryTestMixin.write_opsHs7,a0A&8-q11%A&1%>!23Q7A&3!,B,1%rc|jd}|j|}|j||j|j|j	||j}|j||j|j|j	||jt|jd|j|jt|j|jdy)Nzhello world
)
rrrIr(getvaluer2r3rEclose
ValueErrorr
rmemios   r
test_writezMemoryTestMixin.test_writeUsll?+S!udll+)3/udll+)3/)U[[$7

*ekk4<<3CDrc|jd}|j}|j|j|gdzd|j|j	|dz|jg|j|j	|dz|j}|jt|j|gdgz|j|j	||jt|jd|j|jt|jgy)Nrdr#)	rrr(
writelinesrLr2r3rMrNrOs   rtest_writelineszMemoryTestMixin.test_writelinesbsll<())3%#+6=)395
)395)U%5%5us{C)3/)U%5%5t<

*e&6&6;rc|j}fd}jt|j|y)Nc3>Kjdtw)Nspam)rKeyboardInterruptrsr	error_genz8MemoryTestMixin.test_writelines_error.<locals>.error_genss,,v&&##s)rr2rYrT)r
rPrZs`  rtest_writelines_errorz%MemoryTestMixin.test_writelines_errorqs0	$	
+U-=-=y{Krc|jd}|j|}|jt|jd|jt|jtd|j
d|j|j	tdd|j|j|dd|j|j	d|j|j|dd|j|j	dd|j|j|dd|j|jd|j
dd|j||j|j|dd|z|j}|j|j	d||j|j||jt|jd|j|jt|jd|jt|jtdy)	NrrAr%r0)
rrr2rNrFrr1r(rLr7rEr3rM)r
rrPposs    r
test_truncatezMemoryTestMixin.test_truncateysll<(S!*ennb9*enngbkB

1

3Q7)3r73)1-)3r73*A.)3r73q)

1a
C)3r7S=9jjl-s3s+)U^^S9

*enna8*enngajArc|jd}|j|}|j|j||jd}|j|j|j|j|dz|j|j|dz|j||j|j||j
t|j
gy)Nrr_)rrr(rLr*r
r2r3rOs   r	test_initzMemoryTestMixin.test_initsll<(S!)3/T")4884
sQw)373
s)3/)U^^R8rc	|jd}|j|}|j|jd|j|j|jd|dd|j|jd|dd|j|jd|dd|j|j|j|jd|j|jt
d|j|j|jt
d|dd|j|jt
d|dd|j|jt
d|dd|jd|j|j||j|j|j|j|jd|jd|j|jd||jd|j|jt
d||jd|jt|jt||jd	|jt|jt||jd|j|jd||jt|jd
|jt|dz|j|jd|j|jt|dz|j|jt
d|j|jt|dz|j|j|j|j|jt|jy)Nrrr#r%r$r&
r]rSrK)rrr(r)r*r1rr7typer2r3lenrMrNrOs   r	test_readzMemoryTestMixin.test_readsll<(S!A1ABQ0AAa1C#ab'2txx0

1
GAJ/:GAJ/Ra9GAJ/Qq:GCL13qr7;

1
s+txx0r*

1
B-

1
GBK0#6

1
ejjl+T#Y7

3ejjl+T#Y7

1
D)3/)UZZ4

3s8a< A1

3s8a< GAJ/:

3s8a< txx0

*ejj1rc*	|jd}|j|dz}|j|jd|j|j|jtd|j|j|j||j|j||j|j|j|j
d|j|jd|dd|j|jd|dd|j|jd|dd|j
d|j|jtd|dd|j|jtd|dd|j|jtd|dd|j
d|j|jd||j
d|j|jtd||j
d|j|jd|j|j|jtd|j|j
t|dzdz|j|j|j|jd}|j|d	zdd}|j|j||j|j||j|j|dd|j|j|j|j
d|jt|jt||j|j||jt|jd
|j|jt|jy)N1234567890
r_rr$rfr]r#r/rK)
rrr(readliner*rr1rhrgr2r3rMrNrOs   r
test_readlinezMemoryTestMixin.test_readlinesOll>*S1W%*DHH5
3TXX>)3/)3/)4884

1
*CG4*C"I6*C2J7

1

3S!W=
3S2Y?
3SBZ@

1
+S1

1
4c:

1
*DHH5
3TXX>

3s8a<!#$)4884ll>*cAgs^,)3/)3/)3s84)4884

1
enn./c;)3/)U^^R8

*u~~6rcl|jd}|j|dz}|j|j|gdz|j	d|j|j|ddg|gdzz|j	d|j|jd|gdz|j	d|j|jd|gdz|j	d|j|jd|gdz|j	d|jt|jdt||j	d|j|jd|gdz|j
t|jd	|j	t|dzd
z|j|jg|j|j
t|jy)Nrkrfr$rBrrlr_r]rKr#)rrr(	readlinesr1rgr2r3rhrMrNrOs   rtest_readlineszMemoryTestMixin.test_readlinessll>*S2X&*SEBJ7

1
*SWI	,AB

1
,seai8

1
,sebj9

1
+cURZ8

1
eoo/23T#Y?

1
.
;)U__b9

3s8b=1$%*B/

*eoo6rc|jd}|j|dz}|jt|||j	t|d|j	t|dd}|D]}|j|||dz
}|j|d|j
dd}|D]}|j|||dz
}|j|d|j
t|dzdz|jt|g|j|dz}|j|jt|jy)Nrkrf__iter____next__rr#r_)
rrr(iter
assertTruehasattrr1rhlistrMr2rNrt)r
rrPilines     r
test_iteratorzMemoryTestMixin.test_iteratorsAll>*S2X&ee,z23z23
	DT3'
FA		
B

1

	DT3'
FA		
B

3s8b=1$%eb)S1W%

*enn5rcZ|jd}|j|}|j|j||j	|j|j||jt|jt||j|dz}|j|jdd|jd|j|}|j
|jt|jy)Nr890)	rrr(rLr)rgrMr2rNrOs   r
test_getvaluezMemoryTestMixin.test_getvaluesll<(S!)3/

)3/enn./c;S4Z()"#.U0CDS!

*enn5rc|jd}|j|}|jd|jt|j
d|jt|j
dd|jt|j
dd|j
|jdd|j
|jddd|j
|j||j
|jdd|j
|jddd|j
|j|dd|j
|jt|t||j
|j|j|jt|dz|j
|j|j|j
|jddt||j
|j|j|j|jt|j
dy)Nrr$r]r#r/rr_)
rrr)r2rNr1r(rhr*rMrOs   r	test_seekzMemoryTestMixin.test_seek,sll<(S!

1
*ejj"5*ejj!R8*ejj!Q7A*Aq)1-s+A*Aq)1-s12w/CH-s3x8txx0

3s8a< txx0Aq)3s84txx0

*ejj!4rcx|jd}|j|}|j|jt	|dzd|j|j|j|j|jd|j|j||j|j|j|j||j||j|j||jdz|zy)Nrr#)
rrr(r1rhr)r*r7rLrErOs   r
test_overseekzMemoryTestMixin.test_overseekCsll<(S!CHqL126txx0r*)3/
DHH)3/
C)3d1C+Cc+IJrc|jd}|j|}|j|jd|j	d|j|jd|j	d|j|jd|j|j
t|jyr6)rrr(r7r1rMr2rNrOs   r	test_tellzMemoryTestMixin.test_tellPsll<(S!q)

1
q)

5u-

*ejj1rc|jd}|j|}|j|jdyr)rrr(flushrOs   r
test_flushzMemoryTestMixin.test_flush\s4ll<(S!-rc|j}|j|jd|j|jd|j|j	d|j|jd|j|jd|j|jt|j|jt|j|jt|j|jt|j
|j|jdy)NTF)
rr(writablereadableseekableisattyclosedrMr2rNr
rPs  r
test_flagszMemoryTestMixin.test_flagsbs)40)40)40/u-

*enn5*enn5*enn5*ell3t,rcjdfd}fd}j|j|y)Nrc^Gddj}|}|jS)NceZdZy)>MemoryTestMixin.test_subclassing.<locals>.test1.<locals>.MemION)rrrrrrMemIOrtsrrrrLrmrr
s  rtest1z/MemoryTestMixin.test_subclassing.<locals>.test1ss(

c
A::<rcdGfddj}|d}|jS)NceZdZfdZy)>MemoryTestMixin.test_subclassing.<locals>.test2.<locals>.MemIOc>jj||yr)rr
)meabr
s   rr
zGMemoryTestMixin.test_subclassing.<locals>.test2.<locals>.MemIO.__init__zsLL))"a0rNrrrr
rsrrrys1rrrrs  rtest2z/MemoryTestMixin.test_subclassing.<locals>.test2xs-
1
1c4 A::<r)rr()r
rrrs`  @rtest_subclassingz MemoryTestMixin.test_subclassingqsAll<(	 
	 	
#&#&rcRtdD]}|j}d|_y)NrSr#)rangerfoo)r
_rPs   rtest_instance_dict_leakz'MemoryTestMixin.test_instance_dict_leaks)s	ALLNEEI	rcjd}j|}d|_|jdGfddj}ddl}d|_|j|_||_||d}|jdtdtjd	zD]}||fD]}tjtj||
}j|j|jj|j |j j|j|jj|j#|j#|j%j't(tj|||`y)Nr*r_ceZdZfdZy)6MemoryTestMixin.test_pickling.<locals>.PickleTestMemIOcLjj||||_yr)rr
r)r	initvaluerr
s   rr
z?MemoryTestMixin.test_pickling.<locals>.PickleTestMemIO.__init__s%%b)4rNrrsrPickleTestMemIOrs
rrr__main__Pr#)protocol)rrrr1rrrrrrpickleHIGHEST_PROTOCOLloadsdumpsr(rL	__class__r7rMr2rN)	r
rrPrrsubmemioprotoobjobj2s	`        r
test_picklingzMemoryTestMixin.test_picklingsall<(S!	

1
	dll		%/"'6'?'?$#2 "3+

a1f559:	IEx(
I||FLLu$EF  A  ?  $((3  TYY[9

!!*fllD%H
I	I
$rN)rrrr?rIrQrUr[rbrdrirnrqr{rrrrrrrrrrrrr:r:BsmA&E
<LB2
9$2L'7R706265.K
2.
-' #%rr:czeZdZejZedZejZdZ	dZ
dZdZdZ
dZdZd	Zy
)
PyBytesIOTestc$|jdS)Nascii)encode)ss rrzPyBytesIOTest.buftypesxx  rrc|jd}|j}|jt|d|j	d|j}|jt|d|jt|jd|jt|j|jt|j|j|jd|dd|jt|d|j|jd~tj|j|j|jt|jy)N
1234567890r$sdxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsabcr/rAs
123abc7890)r	getbufferr(bytesr1r2BufferErrorrErFrMassertFalserrLr
gc_collectrN)r
rPrs   rtest_getbufferzPyBytesIOTest.test_getbuffers]+oos]3

1
oos]3	
+u{{J?+u~~6+u{{3&Aas]3)=9



*eoo6rc|jd}|j|j|j||j|j|jd|y)Nrr])rr(rread1r>s  r
test_read1zPyBytesIOTest.test_read1sVll<(c*002C8c*004c:rc|jd}|j|}td}|j|j	|d|j|d|j|j	|d|j|d|j|j	|d|j|dtd}|jd|j|j	|d|j|d	td
}|jd|j|j	|d|j|d
|j
t|jdddl}|jdd}|j|}|j	||j|jd	|j|j
t|j||jd
}t}|jd|j	||j|d
y)Nrshellor$s12345s67890rshello worldrfs1234567890drrKrs123r)rr	bytearrayr(readintor1r2r3arraytobytesrMrN)r
rrPrrrs      r
test_readintozPyBytesIOTest.test_readintosll<(S!h*A.H%*A.H%*A.H%n%

1
*B/N+cN

1
*A.C )U^^R8KK^,S!
qn5

*enna8V$K

2
qC rc|jd}|j|}|j|jddd|j|jddd|j|jddd|j|jddd|j|jddd	|j|jddd
|jdd|j|j	|dd|jd|jdd|j|j	|ddy)Nrr]r#rr/r_rBrfrr~)rrr(r1r)rOs   rtest_relative_seekz PyBytesIOTest.test_relative_seeksll<(S!B*A.Aq)1-B*A.B*A.Aq)2.Aq)2.

2qs23x0

1


1as12w/rc|j}|jt|jd|jt|jd|jt|jdgyr)rr2r3rErTrs  rtest_unicodezPyBytesIOTest.test_unicodesS)T\\<@)U[[,?)U%5%5~Frc*d}ddl}|jdt|}|j|}|j|j	||j|j|d|j|j	|y)Nrrrrf)rrxrr(rLrE)r
rrrrPs     rtest_bytes_arrayzPyBytesIOTest.test_bytes_arraysqKKT#Y'Q)3/Q,)3/rc|jd}|j||jt|j|dy)Nr)
initial_bytes)r)rrr2r3r>s  rtest_issue5449zPyBytesIOTest.test_issue5449s9ll<(3')T\\3DArN)rrrpyior<staticmethodrBytesIOrr*rrrrrrrrrrrrsV 44!!llG

C72;
!B0 G0BrrcNeZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
y)
TextIOTestMixinc|jdfd}|jjdjd||jjdjd||jjdjd||jjdy)	NnewlinecHjdjy)Nr)r1r)rPsrforce_decodez<TextIOTestMixin.test_newlines_property.<locals>.force_decode%sJJqMJJLra

b
)r
c
d)
rr)rr(newlinesrE)r
rrPs  @rtest_newlines_propertyz&TextIOTestMixin.test_newlines_property sT*		
.
E.
G8
F)=>rc|j}|jt|jdd|jt|jdd|jt|jdd|jt|jdd|jt|jdd|jt|jddy)Nr]r#r/r~r_)rr2OSErrorr1rs  rrz"TextIOTestMixin.test_relative_seek3s'5::r15'5::q!4'5::r15'5::r15'5::q!4'5::q!4rc|j}|j|j|j|j|j	|j
yr)rassertIsNoneencodingerrorsrline_bufferingrs  rtest_textio_propertiesz&TextIOTestMixin.test_textio_properties=sG	
%..)%,,'--.rc|jd}|jt|gd|j|jd|j}|j|j	dd|jd|jt|gd|j|jdy)Na
b
c
drrrr^rrr(rxrLrEr1rs  rtest_newline_defaultz$TextIOTestMixin.test_newline_defaultFs^,e&>?)>:^4a8

1
e&>?)>:rc|jdd}|jt|gd|jd|j|j	dd|j|j	dd|j|j	dd	|j|j	dd
|j|jd|jd}|jd|j
d|jd
|j
d|jd
|j
d|jd|j|j	d|j|jd|jdd}|j|j	d
dy)Nrr)rzb
zc
drr#rr_z
b
crza
b
c
drr/rrza
bza
brr(rxr1r)rLrErs  rtest_newline_nonez!TextIOTestMixin.test_newline_noneQsh^T:e&@A

1
A,A.A.A-)<8T*EKK./EKK01EKK/0

1
|4)<8Xt4A/rcT|jdd}|jt|gd|jd|j|j	dd|j|j	dd	|j|j	d
d|j|jd|jd}|jd|j
d|jd|j
d
|jd|j
d	|jd|j
d|jd|jt|gd|j|jdy)NrrKr)rrc
rrr%za
b
r_rr#rrb
z
drrs  rtest_newline_emptyz"TextIOTestMixin.test_newline_emptygs>^R8e&BC

1
A1A.A-)>:R(EKK./EKK./EKK./EKK./

1
e&BC)>:rc|jdd}|jt|gd|j|jd|jd}|j|j	dd|jd|jt|gd|j|jdy)Nrrrrr^rrrs  rtest_newline_lfzTextIOTestMixin.test_newline_lfzs^T:e&>?)>:T*^4a8

1
e&>?)>:rcn|jdd}|j|jd|jd|jt	|gd|j|jd|jd}|j|j
dd|jd|jt	|gd|jd|j|jgd|j|jdy)Nrrrza
b

c
dr)za
rrrrr^)rr(r)r1rxrLrErprs  rtest_newline_crzTextIOTestMixin.test_newline_crs^T:~6

1
e&FG)>:T*^4a8

1
e&FG

1
*,LM)>:rcn|jdd}|j|jd|jd|jt	|gd|jd|j|jgd|j|j
d|jd}|j|jdd|jd|jt	|gd|j|j
dy)Nrrrz
a
b

c
dr)za
zb

rr^)rr(r)r1rxrprLrErs  rtest_newline_crlfz!TextIOTestMixin.test_newline_crlfs^V<'9:

1
e&BC

1
*,HI)+=>V,^4a8

1
e&BC)+=>rc|jdd}|j|jdd|j|jdy)Nza
b
rr$za
b
)rr(r)rLrs  rtest_issue5265zTextIOTestMixin.test_issue5265sC\48A1)84rc|jt|jd|jt|jddD]}|j|y)N
rerror)NrKrrr)r2r3rrN)r
rs  rtest_newline_argumentz%TextIOTestMixin.test_newline_argumentsQ)T\\5A*dllGD5	*GLLL)	*rN)rrrrrrrrr	rr
rrrrrrrrs9?&5/	;0,;&
;; ? 5*rrcJeZdZeZejZejZdZ	dZ
y)PyStringIOTestrKc|jd}|j|jd|j}|jd|j|j	dy)Nu)rr(r)rErLrs  rtest_lone_surrogatesz#PyStringIOTest.test_lone_surrogatessTX&x0
H)84rN)rrrstrrrStringIOrr<r*rrrrrrs&GmmG44
C5rrcZeZdZdZeZejZdZGddejZ
y)PyStringIOPickleTestzETest if pickle restores properly the internal state of StringIO.
    rKceZdZdZdZy)PyStringIOPickleTest.ioclassc	xtjtjtj|i|Sr)rrrrrclsargskwargss   r__new__z$PyStringIOPickleTest.ioclass.__new__s(<<T]]D-KF-K LMMrcyrrr
r#r$s   rr
z%PyStringIOPickleTest.ioclass.__init__rNrrrr%r
rrrrrs
	N	rrN)rrr__doc__rrrr<r*rrrrrrrs-G44
C$--rrceZdZejZejZdZdZe	jZ
e	jdZdZ
e	jdZe	jdZe	jdZe	jdZy	)
CBytesIOTestcd|j}|j}|jt|dt	|d|j|dt|d|j|dt|j|jt|jy)Nr/rr#r_)r__getstate__r(rhrassertIsInstanceintdictrMr2rNr
rPstates   r
test_getstatezCBytesIOTest.test_getstates""$UQ'%(eAh,8!!%(D1

*e&8&89rc|j}|jd|jtdddf|jddddif|jt|jd|jt
|jd|jt
|jd|jt
|jd	|jt
|jd
|jt
|j|jt
|jd|j
|jt|jdy)N)no errorrNr6rrXr/)rr]N)unicoderN)rr0N)rrr)slen-testr)sclosedrN)r__setstate__rr2rNr3rMrs  r
test_setstatezCBytesIOTest.test_setstates
12
Ik2At<=
KVQK89*e&8&8/J)U%7%79MN)U%7%79IJ)U%7%7E)U%7%79IJ)U%7%78)U%7%7;

*e&8&8:NOrc^tjd}|j}|jtjt
j||t
j|d}|t
jd|z|tjd|zzy)NP2n2Pnr}a)
rcalcobjsizecheck_sizeofr(object
__sizeof__iorsys	getsizeof)r
basesizecheckns    rtest_sizeofzCBytesIOTest.test_sizeofs|&&x0!!**2::<8(C
bjjlH&
bjj"Hs}}TAX/F$FGrcd}tj|}|j|}|jtj||dz|||jtj||y)Ns                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                r#)rBgetrefcountrr()r
mutationimmold_rcrPs     r_test_cow_mutationzCBytesIOTest._test_cow_mutations`%S!-vz:-v6rc,d}|j|y)Nc&|jdy)Nr#)rFrs rrJz0CBytesIOTest.test_cow_truncate.<locals>.mutationsNN1rrMr
rJs  rtest_cow_truncatezCBytesIOTest.test_cow_truncates	)rc,d}|j|y)NcH|jd|jdy)Nrsfoo)r1rErs rrJz-CBytesIOTest.test_cow_write.<locals>.mutationsJJqMKKrrPrQs  rtest_cow_writezCBytesIOTest.test_cow_writes	 	
)rct|jd}|jfd}|j|y)Nsfooooooc(|jyr)r8)rPr3s rrJz0CBytesIOTest.test_cow_setstate.<locals>.mutationsu%r)rr.rM)r
rPrJr3s   @rtest_cow_setstatezCBytesIOTest.test_cow_setstates4Z(""$	&)rctd}tj|}|j|}|j	tj||y)Ni)rrBrIrr()r
barLrPs    rtest_cow_mutablezCBytesIOTest.test_cow_mutable sB
t_$R ,f5rN)rrrrArrr<r4r9rr>cpython_onlyrGrMrRrUrXr[rrrr,r,sjjG22	:P ''LHH7
**
**
**
66rr,cNeZdZejZejZdZdZdZ	y)
CStringIOTestc`|jd}|j|}|j|j||j|j	|t||j|j
t||j|j||j|j	|t||j|j
t|dz|j|j||zy)Nu𠌊𠍇r_)rrr(rLrErhr7rOs   r
test_widecharzCStringIOTest.test_widechar0sll12S!)3/S)3s84s3x0)3/S)3s84s3x!|4)395rc|j}|j}|jt|d|j	|dt
|j	|dt
|j	|dt|d|j	|dt|j|jt|jy)Nr%rr#r_r/)rr.r(rhr/rr0r1rMr2rNr2s   rr4zCStringIOTest.test_getstate<s""$UQ'eAh,eAh,eAh,8!!%(D1

*e&8&89rc&|j}|jd|jdddddif|jt|jd|jt|jd|jt|jd	|jt|jd
|jt|jd|jt|jd|jt|jd
|jt|j|jt|jd|j|jt|jdy)N)no errorrrNrcrKrrXr/)rKrGrN)rKrKr]N)rrKrN)rKrrN)rKrKr0N)rKrKrr)zlen-testr)rrKrN)rr8r2rNr3rMrs  rr9zCStringIOTest.test_setstateHs4
67
JA{;<*e&8&8:LM*e&8&8:LM)U%7%79KL)U%7%79KL)U%7%79LM)U%7%7H)U%7%7I)U%7%78)U%7%7;

*e&8&8:QRrN)
rrrrArrr<r`r4r9rrrr^r^*s'kkG22
6
:Srr^cNeZdZejZGddej
Zy)CStringIOPickleTestceZdZdZdZy)CStringIOPickleTest.ioclassc	xtjtjtj|i|Sr)rrrrArr!s   rr%z#CStringIOPickleTest.ioclass.__new__^s(<<R[[$-I&-I JKKrcyrrr's   rr
z$CStringIOPickleTest.ioclass.__init__`r(rNr)rrrrrg]s
	L	rrN)rrrrAr<rrrrrrereZs22"++rrer)r*unittesttestrrA_pyiorrrBrrr:TestCaserrrrr,r^rermainrrr<module>ros
	

*0*0Zi%i%XmBO%8(:K:KmB`S*S*l5_&9$h&7&75"?H,=,=U6=U6n-SN-S`.zHMMOr