ÿØÿàJFIFÿþ ÿÛC       ÿÛC ÿÀÿÄÿÄ"#QrÿÄÿÄ&1!A"2qQaáÿÚ ?Øy,æ/3JæÝ¹È߲؋5êXw²±ÉyˆR”¾I0ó2—PI¾IÌÚiMö¯–þrìN&"KgX:Šíµ•nTJnLK„…@!‰-ý ùúmë;ºgµŒ&ó±hw’¯Õ@”Ü— 9ñ-ë.²1<yà‚¹ïQÐU„ہ?.’¦èûbß±©Ö«Âw*VŒ) `$‰bØÔŸ’ëXÖ-ËTÜíGÚ3ð«g Ÿ§¯—Jx„–’U/ÂÅv_s(Hÿ@TñJÑãõçn­‚!ÈgfbÓc­:él[ðQe 9ÀPLbÃãCµm[5¿ç'ªjglå‡Ûí_§Úõl-;"PkÞÞÁQâ¼_Ñ^¢SŸx?"¸¦ùY騐ÒOÈ q’`~~ÚtËU¹CڒêV  I1Áß_ÿÙ 2xQc@s|ddlmZdejfdYZdefdYZddZedkrxdd lmZeend S( i(tsupporttTestCasecBseZRS((t__name__t __module__(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyRst FirstCasecBseeZdZdZdZdZdZdZddZdZ d Z d Z RS( c Cs|jj}d|_|jdddddd}|j|j@}||}dd d Y}|j|jg}d dl}|jd }x\dD]T} t || j } t | } |j | || j |j || @|| qWdS(Nshp.ittasdfg333333 @g @itCcBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyR-sitRcsi((ii( theapytUsetreprefixtisotTypetSizet__dict__ttypestbytreprtkindtevaltaseq( tselfthptattstkRtdiRtdbtitrktek((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyttest_1s      c Cs|jj}d|_dd"dY}dtfdY}|}|}ddl}x<d#D]4}t|}t|} |jt| |qcWxxtd$D]j\} }| d } t|}t |j d!} |j| j | t|} |jt| |qWdS(%s, Systematically test all kind constructors: shp.RcBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyREstTcBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyR!HsiNs hp.Class(C)shp.Class(C).dictofshp.Clodo(dictof=C)shp.Clodo(dictof=T)shp.Clodo(dictof=())s hp.Clodo(C)s hp.Clodo(T)s hp.Id(id(c))shp.Module("sys")s&hp.Rcs(hp.Clodo.sokind(int)(dictof=C))shp.Size(hp.iso(c).indisize)s"hp.Size(hp.iso(C).indisize).dictofs hp.Type(T)s hp.Type(int)s hp.Unity()shp.Via()s hp.Via('_.x')shp.Via('_[0]')shp.Via('_.keys()[0]')shp.Via('_->abc')shp.Via('_.__dict__.keys()[0]')shp.Via('_.f_locals["abc"]')shp.Via('_.f_locals ["abc"]')shp.Via('_->f_valuestack[0]')ii((s hp.Class(C)shp.Class(C).dictofshp.Clodo(dictof=C)shp.Clodo(dictof=T)shp.Clodo(dictof=())s hp.Clodo(C)s hp.Clodo(T)s hp.Id(id(c))shp.Module("sys")s&hp.Rcs(hp.Clodo.sokind(int)(dictof=C))shp.Size(hp.iso(c).indisize)s"hp.Size(hp.iso(C).indisize).dictofs hp.Type(T)s hp.Type(int)s hp.Unity()shp.Via()(s hp.Via('_.x')shp.Via('_[0]')shp.Via('_.keys()[0]')shp.Via('_->abc')shp.Via('_.__dict__.keys()[0]')shp.Via('_.f_locals["abc"]')shp.Via('_.f_locals ["abc"]')shp.Via('_->f_valuestack[0]')( R R R tobjecttsysRRRt enumeratetlisttargR( RRRR!tcttR#tstxtrxRtcodetrel((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyttest_2>sT           c Csv|jj}dddY}dtfdY}|}|}i}|j|j|j|}x||fD]}|j} x|jd| |j| j|j |j|j j|j|j j j|j|j j |j| @j|j|jj fD]&} |j || @|j|jq WquWx4|jjfD]#} |j || @|j|qKWdS(s Test of dictof RcBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyRsR!c BseZd ZRS( RRtbR'tdtetftgth( RRR/R'R0R1R2R3R4(RRt __slots__(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyR!stdictofN((R R R"R Rt __class__tClodotClassR6RtindisizetbysizeRRtNothing( RRRR!R'R(tdntisodR*tXR((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyttest_3~s*    "(cCsfdddY}|}|jj}|j|j}|jdj}|jt|ddS(s Test of via RcBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyRstViashpy().Via('.__dict__')N((R R R RRRRR(RRR'RR>R*((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyttest_4s   cCsdddY}|}i}|g}|j|||_|jj}d|_|j|j|||j||jj|j @}|j|j|||j||j j|j @}|j |||j|j|||j|j |j j j }xgt t|D]S} || j}t|} t| } |j || |j || @|| qWddl} | j} ~ |j| }|j |jjj }|j |tt|j@|dS(s6 Non-systematic tests that came up around Sep 14 2005 RcBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyRsshp.iN((tappendtcrefR R R R RR9tsokindtrefdbyR8RRtrangetlenRRRR#tpathtModuleR6(RRR'R0RDRRR/R)RtrateraR#tpR*((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyttest_5s2      443      c CsdddY}|}i}|g}|j|||_|jj}d|_ddl}|j|j|||j||}xtdddd d dd ddf D]P}t|t r|d \}} nd} t ||} |j | || qWdS(s Test of .refdby on all others RcBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyRsshp.iNtUnityR9R8tIdRJRiRR RAii((Ri( RCRDR R R R#R Rt isinstancettupletgetattrter_test( RRR'R0RDRR#R)tpretlevelter((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyttest_6s2       $ic Cs|jj}t|}|jt||xy|fD]n}|j|}|j}t|} t| } |j| ||j||@||j|| @|q8W|j} |j} |dkr|j | ||d|j | ||dndS(Nii( R R RRRRRRFR6RT( RRWtsetRVRtrerR)tsbytsktrsktsket er_refdbyt er_dictof((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyRT s         c Cs|jj}dddY}d|fdY}d|fdY}dtfdY}d |fd Y}d |fd Y}|}|} |} |} |} |} |jgi|| | | | | | j }x|jd |j||j||jj|j fD]}|j d}|j d}|j d}|j d}|j d}x-|||||||@fD]}||@qWq*W|jj|j }ddl }|j |j |j dj}|j |j dj}|j|j| j|dk|j||k|j |j |j dj}|j |j dj}|j|j| j|dk|j||kdS(s# Test of alternative sets w. biper RcBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyR0stDcBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyRa3stEcBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyRb6sR!cBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyR!9stUcBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyRc<stVcBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyRd?si t=s!=iNii((R R R"R RRR9R RERFtalttgctcollectRtbipertassert_(RRRRaRbR!RcRdR'R0R1R(tutvR)RtlttletgetgttneRRgR/((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyttest_7+sL       *   $   # #c Cs|jj}dddY}|}g}i}|j|||d}x|j|df|jtdf|j|df|j||df|jt|j|BdffD]B\}}|j|j} |j| |j j j j d|qWdS(s Test of findex and biper RcBseZRS((RR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyRsiiN(( R R R R9R tdictRRiRRtfamt classifiertkinds( RRRR'tliRR)RRRM((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyttest_8ys  /c CsYddlm}ddddddd d d g }|}g|D]}|t||f^qA}|jd |j|j@fdd lm}|}|djdIx%|D]}||djdIqW|Jxe|D]]} || djdIx9|D]1}|t| d|dkd jdIqW|JqW|j |j ddS(s Test the subrelation relation i(thpyR9R8RPtIdsetRJRRR ROs Size&Type(tStringIORi iiis Class Clodo Id Idset Module Rcs Size Type Unity Size&Type Class F F F F F F F T T F Clodo T F F F F F F T T F Id F F F F F F F F T F Idset F F F F F F F F T F Module F F F F F F F F T F Rcs F F F F F F F F T F Size F F F F F F F F T F Type F F F F F F F F T F Unity F F F F F F F F F F Size&Type F F F F F F T T T F N( tguppyRyRSRCRR R{tljusttstrRtgetvalue( RRyternamesRtnametersR{R2R/R((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyttest_9s(    (    / ( RRR R.R@RBRNRXRTRrRxR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyRs ) @ (  . % " N icCstjt|dS(N(Rt run_unittestR(tdebug((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyt test_mainst__main__(toffN(tguppy.heapy.testRRRRRtguppy.heapy.RemoteR(((sK/opt/alt/python27/lib64/python2.7/site-packages/guppy/heapy/test/test_ER.pyt s