ó {G_Tc@sadZddlmZddlmZddlZddlmZddlZddl Z ddl Z dfd„ƒYZ dfd „ƒYZ d e e ejfd „ƒYZd fd „ƒYZde e eejfd„ƒYZdeejfd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZd„Zedkr]eƒndS(udUnit tests for memory-based file-like objects. StringIO -- for unicode strings BytesIO -- for bytes iÿÿÿÿ(tunicode_literals(tprint_functionN(t test_supporttMemorySeekTestMixincBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs"|jdƒ}|j|ƒ}dS(Nu 1234567890(tbuftypetioclass(tselftbuftbytesIo((s./usr/local/lib/python2.7/test/test_memoryio.pyttestInitscCs•|jdƒ}|j|ƒ}|j|d |jdƒƒ|j|dd!|jdƒƒ|j|d|jdƒƒ|j|j|jƒƒdS(Nu 1234567890iiii„(RRt assertEqualtreadtEOF(RRR((s./usr/local/lib/python2.7/test/test_memoryio.pyttestReads  cCsQ|jdƒ}|j|ƒ}|j||jƒƒ|j|j|jƒƒdS(Nu 1234567890(RRR R R (RRR((s./usr/local/lib/python2.7/test/test_memoryio.pyttestReadNoArgsscCs|jdƒ}|j|ƒ}|jdƒ|jdƒ|j||jƒƒ|jdƒ|j|d|jƒƒ|jt|jdƒdS(Nu 1234567890iiig(RRR tseekR t assertRaisest TypeError(RRR((s./usr/local/lib/python2.7/test/test_memoryio.pyttestSeek&s   cCs~|jdƒ}|j|ƒ}|jd|jƒƒ|jdƒ|jd|jƒƒ|jdƒ|jd|jƒƒdS(Nu 1234567890iii'(RRR ttellR(RRR((s./usr/local/lib/python2.7/test/test_memoryio.pyttestTell2s  (t__name__t __module__R R RRR(((s./usr/local/lib/python2.7/test/test_memoryio.pyRs    tMemoryTestMixincBs¼eZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z d „Z d „Z d „Zd „Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cCs&|jƒ}|j|j|jƒdS(N(RRtUnsupportedOperationtdetach(RR((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_detach?s cCs&|j|j|dƒƒdƒ|j|jdƒdƒ|j|j|dƒƒdƒ|j|jƒdƒ|j|jdƒdƒ|j|jƒdƒ|j|j|dƒƒdƒ|j|jdƒdƒ|j|j|dƒƒd ƒ|j|jd ƒd ƒ|j|jƒd ƒdS( Nublah.iiuHello.iu world i uhii (R twriteRRttruncate(Rtftt((s./usr/local/lib/python2.7/test/test_memoryio.pyt write_opsCscCs¿|jdƒ}|j|ƒ}|j||jƒ|j|jƒ|ƒ|jƒ}|j||jƒ|j|jƒ|ƒ|jt|jdƒ|j ƒ|jt |j|jdƒƒdS(Nu hello world u( RRRR tgetvalueRRRtNonetcloset ValueError(RRtmemio((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_writePs  cCsø|jdƒ}|jƒ}|j|j|gdƒdƒ|j|jƒ|dƒ|jgƒ|j|jƒ|dƒ|jƒ}|jt|j|gdgƒ|j|jƒ|ƒ|jt|jdƒ|jƒ|jt |jgƒdS(Nu 1234567890idi( RRR t writelinesR!R RRR"R#(RRR$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_writelines]s      cs8ˆjƒ}‡fd†}ˆjt|j|ƒƒdS(Nc3sˆjdƒVt‚dS(Nuspam(RtKeyboardInterrupt((R(s./usr/local/lib/python2.7/test/test_memoryio.pyt error_genns(RRR(R&(RR$R)((Rs./usr/local/lib/python2.7/test/test_memoryio.pyttest_writelines_errorls cCs|jdƒ}|j|ƒ}|jt|jdƒ|jdƒ|j|jƒdƒ|j|jƒ|d ƒ|j|jdƒdƒ|j|jƒ|d ƒ|j|jdƒdƒ|j|jƒ|d ƒ|j|jƒdƒ|jddƒ|j |ƒ|j|jƒ|d |ƒ|jƒ}|j|jdƒ|ƒ|j|jƒ|ƒ|jt |jdƒ|j ƒ|jt|jdƒdS( Nu 1234567890iÿÿÿÿiiliiu0( RRRR#RRR R RRR!RR"(RRR$tpos((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_truncatets(    cCs®|jdƒ}|j|ƒ}|j|jƒ|ƒ|jdƒ}|j|jƒ|jƒ|j|dƒ|j|jƒ|dƒ|j|ƒ|j|jƒ|ƒdS(Nu 1234567890i(RRR R R!R t__init__(RRR$((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_initŒs cCsà|jdƒ}|j|ƒ}|j|jdƒ|jƒ|j|jdƒ|d ƒ|j|jdƒ|dd!ƒ|j|jdƒ|dƒ|j|jƒ|jƒ|jdƒ|j|jƒ|ƒ|j|jƒ|jƒ|j|jƒdƒ|jdƒ|j|jdƒ|ƒ|jdƒ|jt|jƒƒt|ƒƒ|jd ƒ|jt|jƒƒt|ƒƒ|jdƒ|j|jdƒ|ƒ|j t |jd ƒ|j ƒ|j t |jƒdS( Nu 1234567890iilii„i iÿÿÿÿidu( RRR R R RRttypeR!RRR"R#(RRR$((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_read—s,    " "  cCs=|jdƒ}|j|dƒ}|j|jdƒ|jƒ|j|jƒ|ƒ|j|jƒ|ƒ|j|jƒ|jƒ|jdƒ|j|jdƒ|d ƒ|j|jdƒ|dd!ƒ|j|jdƒ|dd!ƒ|jdƒ|j|jdƒ|ƒ|jdƒ|j|jdƒ|jƒ|jdƒ}|j|d d ƒ}|j|jƒ|ƒ|j|jƒ|ƒ|j|jƒ|d ƒ|j|jƒ|jƒ|jdƒ|jt|jƒƒt|ƒƒ|j|jƒ|ƒ|jt|jd ƒ|j ƒ|jt |jƒdS( Nu 1234567890 iiili iiÿÿÿÿiu( RRR treadlineR RR/RRR"R#(RRR$((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_readline±s4      " cCs’|jdƒ}|j|dƒ}|j|jƒ|gdƒ|jdƒ|j|jƒ|dg|gdƒ|jdƒ|j|jdƒ|gdƒ|jdƒ|j|jdƒ|gdƒ|jdƒ|j|jdƒ|gdƒ|jdƒ|jt|jƒdƒt|ƒƒ|jdƒ|j|jdƒ|gdƒ|jt|jd ƒ|j ƒ|jt |jƒdS( Nu 1234567890 i ii iliiÿÿÿÿu( RRR t readlinesRR/R!RRR"R#(RRR$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_readlinesÐs$ (       &   cCs'|jdƒ}|j|dƒ}|jt|ƒ|ƒ|jt|dƒƒ|jt|dƒƒd}x(|D] }|j||ƒ|d7}qqW|j|dƒ|jdƒd}x(|D] }|j||ƒ|d7}q¿W|j|dƒ|j|dƒ}|jƒ|jt t |ƒdS(Nu 1234567890 i u__iter__unextiii( RRR titert assertTruethasattrRR"RR#tnext(RRR$titline((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_iteratoræs&    cCsÜ|jdƒ}|j|ƒ}|j|jƒ|ƒ|jƒ|j|jƒ|ƒ|jt|jƒƒt|ƒƒ|j|dƒ}|j|jƒd|jdƒƒ|j|ƒ}|jƒ|jt|jƒdS(Nu 1234567890ièiýÿÿÿu890( RRR R R R/R"RR#(RRR$((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_getvalueüs "# cCsó|jdƒ}|j|ƒ}|jdƒ|jt|jdƒ|jt|jddƒ|jt|jddƒ|j|jdƒdƒ|j|jddƒdƒ|j|jƒ|ƒ|j|jdƒdƒ|j|jdƒdƒ|j|jddƒdƒ|j|jƒ|dƒ|j|jt|ƒƒt|ƒƒ|j|jƒ|jƒ|jt|ƒdƒ|j|jƒ|jƒ|j|jddƒt|ƒƒ|j|jƒ|jƒ|j ƒ|jt|jdƒdS( Nu 1234567890iiÿÿÿÿiiili( RRR RR#RR tlenR R"(RRR$((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_seek s* %" cCsä|jdƒ}|j|ƒ}|j|jt|ƒdƒdƒ|j|jƒ|jƒ|j|jƒdƒ|j|jƒ|ƒ|j |jƒ|j|jƒ|ƒ|j |ƒ|j|jƒ||jdƒ|ƒdS(Nu 1234567890ii u( RRR RR=R R RR R(RRR$((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_overseek#s# cCs›|jdƒ}|j|ƒ}|j|jƒdƒ|jdƒ|j|jƒdƒ|jdƒ|j|jƒdƒ|jƒ|jt|jƒdS(Nu 1234567890iii'(RRR RRR"RR#(RRR$((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_tell0s   cCs8|jdƒ}|j|ƒ}|j|jƒdƒdS(Nu 1234567890(RRR tflushR!(RRR$((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_flush<scCsä|jƒ}|j|jƒtƒ|j|jƒtƒ|j|jƒtƒ|j|jƒtƒ|j|jtƒ|j ƒ|j t |jƒ|j t |jƒ|j t |jƒ|j t |jƒ|j|jtƒdS(N( RR twritabletTruetreadabletseekabletisattytFalsetclosedR"RR#(RR$((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_flagsBs  cs]ˆjdƒ‰‡‡fd†}‡‡fd†}ˆj|ƒˆƒˆj|ƒˆƒdS(Nu 1234567890cs/dˆjfd„ƒY}|ˆƒ}|jƒS(NtMemIOcBseZRS((RR(((s./usr/local/lib/python2.7/test/test_memoryio.pyRKTs(RR (RKtm(RR(s./usr/local/lib/python2.7/test/test_memoryio.pyttest1Ss cs8dˆjf‡fd†ƒY}|ˆdƒ}|jƒS(NRKcseZ‡fd†ZRS(csˆjj||ƒdS(N(RR-(tmetatb(R(s./usr/local/lib/python2.7/test/test_memoryio.pyR-Zs(RRR-((R(s./usr/local/lib/python2.7/test/test_memoryio.pyRKYs(RR!R (RKRL(RR(s./usr/local/lib/python2.7/test/test_memoryio.pyttest2Xs(RR (RRMRQ((RRs./usr/local/lib/python2.7/test/test_memoryio.pyttest_subclassingQs cCs0x)tdƒD]}|jƒ}d|_q WdS(Nidi(trangeRtfoo(Rt_R$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_instance_dict_leakas c spˆjdƒ}ˆj|ƒ}d|_|jdƒdˆjf‡fd†ƒY}ddl}d|_||_||dƒ}|jdƒxÖtdtj ƒD]Â}x¹||fD]«}tj tj |d |ƒƒ}ˆj |j ƒ|j ƒƒˆj |j|jƒˆj |j|jƒˆj |jƒ|jƒƒ|jƒˆjttj ||ƒq³Wq W|`dS( Nu 1234567890i*itPickleTestMemIOcseZ‡fd†ZRS(cs ˆjj||ƒ||_dS(N(RR-RT(RNt initvalueRT(R(s./usr/local/lib/python2.7/test/test_memoryio.pyR-os(RRR-((R(s./usr/local/lib/python2.7/test/test_memoryio.pyRWnsiÿÿÿÿu__main__iPtprotocol(RRRTRt__main__RRWRStpickletHIGHEST_PROTOCOLtloadstdumpsR R t __class__RR"RR#( RRR$RWRZtsubmemiotprototobjtobj2((Rs./usr/local/lib/python2.7/test/test_memoryio.pyt test_picklinghs(       !(RRRRR%R'R*R,R.R0R2R4R;R<R>R?R@RBRJRRRVRd(((s./usr/local/lib/python2.7/test/test_memoryio.pyR=s(              t PyBytesIOTestcBseeZejZed„ƒZejZdZd„Z d„Z d„Z d„Z d„Z d„ZRS(cCs |jdƒS(Nuascii(tencode(ts((s./usr/local/lib/python2.7/test/test_memoryio.pyR‘stcCsK|jdƒ}|j|ƒ}|jt|jƒ|j|jƒ|ƒdS(Nu 1234567890(RRRRtread1R R (RRR$((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_read1—scCsõ|jdƒ}|j|ƒ}tdƒ}|j|j|ƒdƒ|j|dƒ|j|j|ƒdƒ|j|dƒ|j|j|ƒdƒ|j|dƒtdƒ}|jdƒ|j|j|ƒdƒ|j|d ƒtd ƒ}|jdƒ|j|j|ƒdƒ|j|d ƒ|jt|jd ƒd dl}|jd dƒ}|j|ƒ}|j|ƒ|j|j ƒd ƒ|j ƒ|jt |j|ƒ|jdƒ}tƒ}|jdƒ|j|ƒ|j|d ƒdS(Nu 1234567890thelloit12345t67890is hello worldi t 1234567890dRhuiÿÿÿÿRPt123i*( RRt bytearrayR treadintoRRRtarrayttostringR"R#(RRR$RPRrRO((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_readintožs<           cCs+|jdƒ}|j|ƒ}|j|jddƒdƒ|j|jddƒdƒ|j|jddƒdƒ|j|jddƒdƒ|j|jddƒd ƒ|j|jddƒd ƒ|jd dƒ|j|jƒ|d ƒ|jdƒ|jddƒ|j|jƒ|dƒdS( Nu 1234567890iÿÿÿÿiiiiüÿÿÿii i i iýÿÿÿ(RRR RR (RRR$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_relative_seek¿s cCsU|jƒ}|jt|jdƒ|jt|jdƒ|jt|jdgƒdS(Nu 1234567890(RRRRR&(RR$((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_unicodeÏs cCs|d}ddl}|jd|ƒ}|j|ƒ}|j|jƒ|ƒ|j|j|ƒdƒ|j|jƒ|ƒdS(Nt 1234567890iÿÿÿÿRPi (RrRR R R(RRRrROR$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_bytes_arrayÖs cCs?|jdƒ}|jd|ƒ|jt|j|ddƒdS(Nu 1234567890t initial_bytesRT(RRRRR!(RR((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_issue5449ßs(RRtpyioRt staticmethodRtBytesIORR RjRtRuRvRxRz(((s./usr/local/lib/python2.7/test/test_memoryio.pyRes    !   tTextIOTestMixincBsbeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z RS( cs­|jddƒ‰‡fd†}|jˆjdƒˆjdƒ|ƒ|jˆjdƒˆjdƒ|ƒ|jˆjd ƒˆjdƒ|ƒ|jˆjd ƒdS( NtnewlinecsˆjdƒˆjƒdS(Ni(RR ((R$(s./usr/local/lib/python2.7/test/test_memoryio.pyt force_decodeìs ua u ub u uc du (u u (u u u (RR!R tnewlinesR(RR€((R$s./usr/local/lib/python2.7/test/test_memoryio.pyttest_newlines_propertyçs   cCs¦|jƒ}|jt|jddƒ|jt|jddƒ|jt|jddƒ|jt|jddƒ|jt|jddƒ|jt|jddƒdS(Niÿÿÿÿiiiýÿÿÿi(RRtIOErrorR(RR$((s./usr/local/lib/python2.7/test/test_memoryio.pyRuús cCs@|jƒ}|j|jƒ|j|jƒ|j|jƒdS(N(Rt assertIsNonetencodingterrorst assertFalsetline_buffering(RR$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_textio_propertiess cCs¯|jdƒ}|jt|ƒdddgƒ|j|jƒdƒ|jƒ}|j|jdƒdƒ|jdƒ|jt|ƒdddgƒ|j|jƒdƒdS(Nua b c dua ub uc dii(RR tlistR RR(RR$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_newline_default s  cCs†|jdddƒ}|jt|ƒddddgƒ|jdƒ|j|jdƒd ƒ|j|jd ƒd ƒ|j|jd ƒd ƒ|j|jdƒd ƒ|j|jƒdƒ|jddƒ}|jd |jdƒƒ|jd|jdƒƒ|jd|jdƒƒ|jdƒ|j|jƒdƒ|j|jƒdƒ|jdddƒ}|j|jdƒdƒdS(Nua b c dRua ub uc udiiuaiu bu cu ua b c diub uc dua bua b(RR!R RŠRR R R(RR$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_newline_nones""  cCsd|jdddƒ}|jt|ƒddddgƒ|jdƒ|j|jd ƒd ƒ|j|jd ƒd ƒ|j|jd ƒdƒ|j|jƒdƒ|jddƒ}|jd |jdƒƒ|jd |jdƒƒ|jd |jd ƒƒ|jd |jdƒƒ|jdƒ|jt|ƒddddgƒ|j|jƒdƒdS(Nua b c dRuua ub uc udiiua b iu ciu ub u d(RR RŠRR R R(RR$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_newline_empty.s"  "cCs»|jdddƒ}|jt|ƒdddgƒ|j|jƒdƒ|jddƒ}|j|jdƒdƒ|jdƒ|jt|ƒdddgƒ|j|jƒdƒdS( Nua b c dRu ua ub uc dii(RR RŠR RR(RR$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_newline_lfAs cCs|jdddƒ}|j|jƒdƒ|jdƒ|jt|ƒddddd gƒ|j|jƒdƒ|jddƒ}|j|jdƒd ƒ|jdƒ|jt|ƒddddd gƒ|jdƒ|j|jƒddddd gƒ|j|jƒdƒdS( Nua b c dRu ua b c diua ub uc udi(RR R RRŠR RR3(RR$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_newline_crMs % % %cCs |jdddƒ}|j|jƒdƒ|jdƒ|jt|ƒdddgƒ|jdƒ|j|jƒdddgƒ|j|jƒdƒ|jddƒ}|j|jdƒd ƒ|jdƒ|jt|ƒdddgƒ|j|jƒdƒdS( Nua b c dRu u a b c diua ub uc di(RR R RRŠR3R R(RR$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_newline_crlf]s   cCsH|jdddƒ}|j|jdƒdƒ|j|jƒdƒdS(Nua b Riua b (RR!R R R (RR$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_issue5265ms( RRR‚RuR‰R‹RŒRRŽRRR‘(((s./usr/local/lib/python2.7/test/test_memoryio.pyR~ås     tPyStringIOTestcBs/eZeZejZejZdZd„Z RS(ucCsdtdƒ}|j|ƒ}|j|jƒ|ƒ|jƒ}|j|ƒ|j|jƒ|ƒdS(NiØ(tunichrRR R RR (Rt surrogateR$((s./usr/local/lib/python2.7/test/test_memoryio.pyttest_lone_surrogates{s    ( RRtunicodeRR{tStringIORRR R•(((s./usr/local/lib/python2.7/test/test_memoryio.pyR’ts   tPyStringIOPickleTestcBs<eZdZeZejZdZdejfd„ƒYZ RS(uETest if pickle restores properly the internal state of StringIO. uRcBseZd„Zd„ZRS(cOs"tjtjtj||ŽƒƒS(N(R[R]R^R{R—(tclstargstkwargs((s./usr/local/lib/python2.7/test/test_memoryio.pyt__new__ŽscOsdS(N((RRšR›((s./usr/local/lib/python2.7/test/test_memoryio.pyR-s(RRRœR-(((s./usr/local/lib/python2.7/test/test_memoryio.pyRs ( RRt__doc__R–RR{RR R—R(((s./usr/local/lib/python2.7/test/test_memoryio.pyR˜†s  t CBytesIOTestcBs_eZejZejZejdƒej ƒZ d„Z d„Z e j Z e jd„ƒZRS(u.array.array() does not have the new buffer APIcCs›|jƒ}|jƒ}|jt|ƒdƒt|dƒ|j|dtƒ|jt|dt ƒpv|ddkƒ|j ƒ|j t |jƒdS(Niiii(Rt __getstate__R R=RptassertIsInstancetintR6t isinstancetdictR!R"RR#(RR$tstate((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_getstates  * cCs |jƒ}|jd ƒ|jtdƒddfƒ|jddidd6fƒ|jt|jd ƒ|jt|jd ƒ|jt|jdƒ|jt|jdƒ|jt|jdƒ|jt|jƒ|jt|jdƒ|jƒ|jt|jdƒdS(Nsno erroriiuspamRhiÿÿÿÿuunicodegslen-testRI(sno erroriN(RhiÿÿÿÿN(uunicodeiN(RhgN(Rhii(slen-testi(sclosediN(Rt __setstate__R!RpRR#RR"(RR$((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_setstate§s   cCsŽtjdƒ}|j}|jtjtjƒƒ|ƒ|tjƒ|ƒ|tjdƒ|ddƒ|tjddƒ|ddƒdS(NtP2PP2PROiiè(tsupportt calcobjsizet check_sizeofR tobjectt __sizeof__tioR}(Rtbasesizetcheck((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_sizeof¹s  (RRR®R}RRtunittesttskipReRxR¥R§R©R«t cpython_onlyR±(((s./usr/local/lib/python2.7/test/test_memoryio.pyRž”s     t CStringIOTestcBs5eZejZejZd„Zd„Zd„ZRS(cCsâ|jdƒ}|j|ƒ}|j|jƒ|ƒ|j|j|ƒt|ƒƒ|j|jƒt|ƒƒ|j|jƒ|ƒ|j|j|ƒt|ƒƒ|j|jƒt|ƒdƒ|j|jƒ||ƒdS(Nu𠌊ð ‡i(RRR R RR=R(RRR$((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_widecharÈs cCsµ|jƒ}|jƒ}|jt|ƒdƒ|j|dtƒ|j|dtƒ|j|dtƒ|jt |dt ƒp|ddkƒ|j ƒ|j t|jƒdS(Niiiii(RRŸR R=R R–tstrR¡R6R¢R£R!R"RR#(RR$R¤((s./usr/local/lib/python2.7/test/test_memoryio.pyR¥Ôs  * cCs |jƒ}|jd ƒ|jdddidd6fƒ|jt|jdƒ|jt|jdƒ|jt|jdƒ|jt|jdƒ|jt|jdƒ|jt|jdƒ|jt|jƒ|jt|jdƒ|jƒ|jt|jdƒdS(Nuno erroru iuiuspamufiÿÿÿÿRhgulen-testuclosed(uno erroru iN(uufiN(uuiÿÿÿÿN(RhuiN(uugN(uuii(ulen-testi(ucloseduiN(RR¦R!RR#RR"(RR$((s./usr/local/lib/python2.7/test/test_memoryio.pyR§ßs    ( RRR®R—RRR¶R¥R§(((s./usr/local/lib/python2.7/test/test_memoryio.pyRµÂs    tCStringIOPickleTestcBs*eZejZdejfd„ƒYZRS(RcBseZd„Zd„ZRS(cOs(tjtjtj||ŽddƒƒS(NRYi(R[R]R^R®R—(R™RšR›((s./usr/local/lib/python2.7/test/test_memoryio.pyRœöscOsdS(N((RRšR›((s./usr/local/lib/python2.7/test/test_memoryio.pyR-ùs(RRRœR-(((s./usr/local/lib/python2.7/test/test_memoryio.pyRõs (RRR®RR—R(((s./usr/local/lib/python2.7/test/test_memoryio.pyR¸òs cCs)ttttttg}tj|ŒdS(N(ReR’RžRµR˜R¸R©t run_unittest(ttests((s./usr/local/lib/python2.7/test/test_memoryio.pyt test_mainýs  u__main__(Rt __future__RRR²ttestRR©R®t_pyioR{R[RRtTestCaseReR~R’R˜RžRµR¸R»R(((s./usr/local/lib/python2.7/test/test_memoryio.pyts*    -ÿQX .0