ó zfc@sddlZddlZddlZddlmZddlmZmZddlm Z m Z m Z ddl m Z mZedƒde ejfd„ƒYZd e ejfd „ƒYZd e ejfd „ƒYZeeefZed kreeŒndS(iÿÿÿÿN(tTclError(trequirest run_unittest(t pixels_convt tcl_versiont requires_tcl(tAbstractWidgetTestt int_roundtguitPackTestcBsƒeZd Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z d„Z d„Z d „Z d „Zd „Zd „ZRS(c Csätj|jddƒ}|jdƒ|jddƒtj|dddddd d d ƒ}tj|dd dd ddd dƒ}tj|ddddddd dƒ}tj|dddd ddd dƒ}|||||fS(Ntnametpacks 300x200+0+0itatwidthitheighti(tbgtredtbi2itbluetciPtgreentdtyellow(ttkintertTopleveltroott wm_geometryt wm_minsizetFrame(tselfR R RRR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pytcreate2s ''''cCs;|jƒ\}}}}}|jtd|ƒ|jd|ƒWdQX|jtdƒ|jddƒWdQX|jddƒ|jddƒ|jddƒ|jddƒ|j|jƒ||||gƒ|jd|ƒ|j|jƒ||||gƒ|jd|ƒ|j|jƒ||||gƒdS(Nswindow "%s" isn't packedtaftersbad window path name ".foo"s.footsidettop(RtassertRaisesRegexpRtpack_configuret assertEqualt pack_slaves(RR R RRR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_pack_configure_afters""cs¦ˆjƒ\}‰}}}‡‡fd†}|ddƒ|ddƒ|ddƒ|dd ƒ|d d ƒ|d d ƒ|ddƒ|ddƒ|ddƒdS(Ncs[ˆjddddddddd d d td |ƒˆjjƒˆjˆjƒ|ƒdS( NR R!tipadxitpadxi tipadyitpadyitexpandtanchor(R#tTrueRtupdateR$twinfo_geometry(R,tgeom(R R(sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pytcheck-s'  tns 30x70+135+20tnes 30x70+260+20tes 30x70+260+65tses 30x70+260+110tss 30x70+135+110tsws 30x70+10+110tws 30x70+10+65tnws 30x70+10+20tcenters 30x70+135+65(R(RR RRRR1((R RsG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_pack_configure_anchor+s        cCs;|jƒ\}}}}}|jtd|ƒ|jd|ƒWdQX|jtdƒ|jddƒWdQX|jddƒ|jddƒ|jddƒ|jddƒ|j|jƒ||||gƒ|jd|ƒ|j|jƒ||||gƒ|jd|ƒ|j|jƒ||||gƒdS(Nswindow "%s" isn't packedtbeforesbad window path name ".foo"s.fooR R!(RR"RR#R$R%(RR R RRR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_pack_configure_before<s""cs{ˆjƒ\}‰‰‰‰‡‡‡‡‡fd†}ˆjddƒˆjddƒˆjddƒˆjddƒ|ddd d ƒˆjddd d ƒˆjddd d ƒˆjddd tƒˆjddd dƒ|ddddƒˆjddd d ddƒˆjddd d ddƒˆjddd tddƒˆjddd dddƒ|ddddƒdS(Ncsyˆjjƒˆjˆjƒ|dƒˆjˆjƒ|dƒˆjˆjƒ|dƒˆjˆjƒ|dƒdS(Niiii(RR.R$R/(tgeoms(R RRRR(sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyR1Ns  R tleftR!trighttbottoms 20x40+0+80s 50x30+135+0s 80x80+220+75s 40x30+100+170R+tyestonis 20x40+40+80s 50x30+175+35s 80x80+180+110s 40x30+100+135tfilltboths 100x200+0+0s 200x100+100+0s160x100+140+100s40x100+100+100(RR#R-(RR R1((R RRRRsG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_pack_configure_expandLs"cCs2|jƒ\}}}}}|jddƒ|jddƒ|jddƒ|jddƒ|jd|ƒ|j|jƒ||||gƒ|jd|ƒ|j|jƒ|||gƒ|j|jƒ|gƒ|jtd|fƒ|jd|ƒWdQX|jtdƒ|jddƒWdQXdS(NR R!tin_scan't pack %s inside itselfsbad window path name ".foo"s.foo(RR#R$R%R"R(RR R RRR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_pack_configure_inds" c síˆjƒ\}‰‰}}‡‡‡fd†}|ddddddƒ|dddddd'ƒ|d dddd dƒ|d dddd ddd ƒ|ddddddddƒ|dddddd(ddƒ|d dddd dddƒ|d dddd ddd ddƒ|ddddd ddd)ddƒ|ddddddƒ|dddddd*ƒ|ddddd dƒ|ddddd ddd ƒ|ddddd ddd+ƒ|d dddddddƒ|d!ddddd,ddƒ|d#dddd dddƒ|d$dddd ddd ddƒ|d%dddd ddd-ddƒˆjdd&ƒˆjˆjƒdˆj|jd&ƒƒƒˆjd d&ƒˆjˆjƒd ˆj|jd&ƒƒƒdS(.Ncstˆjƒˆjƒˆj|ˆjdtddƒˆjjƒˆjˆjƒ|ƒˆjˆjƒ|ƒdS(NR+RDRE(t pack_forgetR#R-RR.R$R/(tgeom1tgeom2tkwargs(R RR(sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyR1ws    s 20x40+260+80s 240x200+0+0R R@R(is 20x40+250+80i is 60x40+240+80R's 30x40+260+80s 250x200+0+0iRDtxs 20x40+249+80i is 30x40+255+80is 20x40+140+0s 300x160+0+40R!s 20x40+120+0ii(s 60x40+120+0s 30x40+135+0s 30x40+130+0s 260x40+20+0s 260x40+25+0is 300x40+0+0s 280x40+10+0s 280x40+5+0t1c(i i(i i(ii(ii((ii(ii(ii(RR#R$t pack_infot_strt winfo_pixels(RR RRR1((R RRsG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyt#test_pack_configure_padx_ipadx_fillusB      c síˆjƒ\}‰‰}}‡‡‡fd†}|ddddddƒ|dddddd'ƒ|d dddd dƒ|d dddd ddd ƒ|ddddddddƒ|dddddd(ddƒ|d dddd dddƒ|d dddd ddd ddƒ|ddddd ddd)ddƒ|ddddddƒ|dddddd*ƒ|ddddd dƒ|ddddd ddd ƒ|ddddd ddd+ƒ|d dddddddƒ|d!ddddd,ddƒ|d#dddd dddƒ|d$dddd ddd ddƒ|d%dddd ddd-ddƒˆjdd&ƒˆjˆjƒdˆj|jd&ƒƒƒˆjd d&ƒˆjˆjƒd ˆj|jd&ƒƒƒdS(.Ncstˆjƒˆjƒˆj|ˆjdtddƒˆjjƒˆjˆjƒ|ƒˆjˆjƒ|ƒdS(NR+RDRE(RIR#R-RR.R$R/(RJRKRL(R RR(sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyR1¡s    s 20x40+280+80s 280x200+0+0R R@R*is 20x40+280+70i is 20x80+280+60R)s 20x50+280+75iRDRMs 20x40+280+69i is 20x50+280+70is 20x40+140+20s 300x120+0+80R!s 20x40+140+0ii(s 20x80+140+0s 20x50+140+10s 300x130+0+70s 20x50+140+5s 300x40+0+20s 300x40+0+25is 300x80+0+0s 300x50+0+10s 300x50+0+5RN(i i(i i(ii(ii((ii(ii(ii(RR#R$RORPRQ(RR RRR1((R RRsG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyt#test_pack_configure_pady_ipady_fillŸsB      cstˆjƒ\}‰‰}}‡‡‡fd†}|dddƒ|dddƒ|dd d ƒ|d d d ƒdS(Ncs}ˆjd|ƒˆjˆjƒd|ƒˆjdtddƒˆjjƒˆjˆjƒ|ƒˆjˆjƒ|ƒdS(NR R+RDRE(R#R$ROR-RR.R/(R RJRK(R RR(sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyR1Ës  R!s 20x40+140+0s 300x160+0+40RAs 20x40+140+160s 300x160+0+0R?s 20x40+0+80s 280x200+20+0R@s 20x40+280+80s 280x200+0+0(R(RR RRR1((R RRsG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_pack_configure_sideÉs cCs²|jƒ\}}}}}|jƒ|jƒ|jƒ|j|jƒ|||gƒ|jƒ|j|jƒ||gƒ|jƒ|j|jƒ||gƒ|jƒdS(N(RR#R$R%RI(RR R RRR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_pack_forget×s     cCsŠ|jƒ\}}}}}|jtd|ƒ|jƒWdQX|jƒ|jddd|dddtdd d d d d ddddƒ |jƒ}|j|tƒ|j|ddƒ|j|d|j dƒƒ|j|ddƒ|j|d|ƒ|j|d |j dƒƒ|j|d|j dƒƒ|j|d |j dƒƒ|j|d|j dƒƒ|j|ddƒ|jƒ}|j|tƒ|j|ddƒ|j|d|j dƒƒ|j|dd ƒ|j|d|ƒ|j|d |j d ƒƒ|j|d|j dƒƒ|j|d |j d ƒƒ|j|d|j dƒƒ|j|ddƒdS(Nswindow "%s" isn't packedR R@RGR,R6R+RDRMR'iR(i R)iR*iR:itnonetinR!i(ii(ii( RR"RROR#R-tassertIsInstancetdictR$RP(RR R RRRtinfo((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_pack_infoãs8 '  cCsË|jƒ\}}}}}|jddddƒ|jƒ|jtƒ|jjƒ|j|jƒdƒ|j|j ƒdƒ|jt ƒ|jjƒ|j|jƒdƒ|j|j ƒdƒdS(NR i,RiÈii(( Rt configureR#tpack_propagatetFalseRR.R$twinfo_reqwidthtwinfo_reqheightR-(RR R RRR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_pack_propagates     cCs~|jƒ\}}}}}|j|jƒgƒ|jƒ|j|jƒ|gƒ|jƒ|j|jƒ||gƒdS(N(RR$R%R#(RR R RRR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_pack_slavess   N(t__name__t __module__tNonet test_keysRR&R;R=RFRHRRRSRTRUR[RaRb(((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyR s      * *   t PlaceTestcBs•eZdZd„Zd„Zd„Zd„Zd„Zd„Z d„Z d„Z d„Z d „Z d „Zd „Zd „Zd „Zd„ZRS(c Cs¯tj|jddddddƒ}|jdƒtj|dddd dd d d ƒ}|jd dddƒtj|dddddd d d ƒ}|jjƒ|||fS(NR i,RiÈtbdis 300x200+0+0išiTitrelieftraisedRMi0tyi&ii<(RRRRRtplace_configureR.(Rtttftf2((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyRs$ '' cCsß|jƒ\}}}|j|jƒdƒ|jtdtjt|ƒƒƒ|jd|ƒWdQXt d krŒ|j|jƒdƒn|jtdƒ|jddƒWdQX|jd|ƒ|j|jƒdƒdS( Nts!can't place %s relative to itselfRGiisbad window path nametspamtplace(ii( RR$t winfo_managerR"RtretescapetstrRlR(RRmRnRo((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_configure_in$s  c Cs5|jƒ\}}}|jd|ƒ|j|jƒddƒ|jjƒ|j|jƒdƒ|jddƒ|j|jƒddƒ|jjƒ|j|jƒdƒ|jddd d ƒ|j|jƒdd ƒ|jjƒ|j|jƒd ƒ|jtd ƒ|jd|ddƒWdQXdS(NRGRMt0i2idt100i–iöÿÿÿtrelxis-10i¾sbad screen distance "spam"Rq( RRlR$t place_infoRR.twinfo_xR"R(RRmRnRo((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_configure_x1s   c Cs5|jƒ\}}}|jd|ƒ|j|jƒddƒ|jjƒ|j|jƒdƒ|jddƒ|j|jƒddƒ|jjƒ|j|jƒdƒ|jddd d ƒ|j|jƒdd ƒ|jjƒ|j|jƒd ƒ|jtd ƒ|jd|ddƒWdQXdS(NRGRkRxi(i2t50iZiöÿÿÿtrelyis-10insbad screen distance "spam"Rq( RRlR$R{RR.twinfo_yR"R(RRmRnRo((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_configure_yBs   c Cs/|jƒ\}}}|jd|ƒ|j|jƒddƒ|jjƒ|j|jƒdƒ|jddƒ|j|jƒddƒ|jjƒ|j|jƒdƒ|jddƒ|j|jƒdd ƒ|jjƒ|j|jƒd ƒ|jtd ƒ|jd|dd ƒWdQXdS( NRGRzRxi2gà?s0.5i}it1iÈs-expected floating-point number but got "spam"Rq( RRlR$R{RR.R|R"R(RRmRnRo((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_configure_relxSs   c Cs/|jƒ\}}}|jd|ƒ|j|jƒddƒ|jjƒ|j|jƒdƒ|jddƒ|j|jƒddƒ|jjƒ|j|jƒdƒ|jddƒ|j|jƒdd ƒ|jjƒ|j|jƒd ƒ|jtd ƒ|jd|dd ƒWdQXdS( NRGRRxi(gà?s0.5iPiR‚ixs-expected floating-point number but got "spam"Rq( RRlR$R{RR.R€R"R(RRmRnRo((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_configure_relyes   c Cs£tj|jƒ}|jtdƒ|jddƒWdQX|jtdƒ|jddƒWdQXx8dD]0}|jd|ƒ|j|jƒd|ƒqkWdS(Nsbad anchor "j"R,tjsambiguous anchor ""RpR2R3R4R5R6R7R8R9R:( R2R3R4R5R6R7R8R9R:(RRRR"RRlR$R{(RRntvalue((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_configure_anchorws cCs®|jƒ\}}}|jd|ddƒ|jjƒ|j|jƒdƒ|jddƒ|jjƒ|j|jƒdƒ|jtdƒ|jddƒWdQXdS(NRGR ixRpisbad screen distance "abcd"tabcd(RRlRR.R$t winfo_widthR"R(RRmRnRo((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_configure_widths  cCs®|jƒ\}}}|jd|ddƒ|jjƒ|j|jƒdƒ|jddƒ|jjƒ|j|jƒdƒ|jtdƒ|jddƒWdQXdS(NRGRixRpi<sbad screen distance "abcd"Rˆ(RRlRR.R$t winfo_heightR"R(RRmRnRo((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_configure_heightŒs  cCs®|jƒ\}}}|jd|ddƒ|jjƒ|j|jƒdƒ|jddƒ|jjƒ|j|jƒdƒ|jtdƒ|jddƒWdQXdS( NRGtrelwidthgà?iKRpis-expected floating-point number but got "abcd"Rˆ(RRlRR.R$R‰R"R(RRmRnRo((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_configure_relwidth—s  cCs®|jƒ\}}}|jd|ddƒ|jjƒ|j|jƒdƒ|jddƒ|jjƒ|j|jƒdƒ|jtdƒ|jddƒWdQXdS( NRGt relheightgà?i(Rpi<s-expected floating-point number but got "abcd"Rˆ(RRlRR.R$R‹R"R(RRmRnRo((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_configure_relheight£s  cCs£tj|jƒ}|jtdƒ|jddƒWdQX|jtdƒ|jddƒWdQXx8d D]0}|jd|ƒ|j|jƒd|ƒqkWdS( Nsbad bordermode "j"t bordermodeR…sambiguous bordermode ""Rptinsidetoutsidetignore(R’R“R”(RRRR"RRlR$R{(RRnR†((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_configure_bordermode¯s cCs†tj|jƒ}|jddddƒ|jjƒ|jƒ|jjƒ|j|jƒƒ|jt ƒ|jdƒWdQXdS(NR i2Ri( RRRRlR.t place_forgett assertFalsetwinfo_ismappedt assertRaisest TypeError(Rtfoo((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_forget¹s   cCs”|jƒ\}}}|jd|dddddddd d d d d ddddddddƒ |jƒ}|j|tƒ|j|ddƒ|j|ddƒ|j|ddƒ|j|ddƒ|j|d dƒ|j|d dƒ|j|ddƒ|j|ddƒ|j|ddƒ|j|ddƒ|j|ddƒ|j|ddƒ|jtƒ|jdƒWdQXdS(NRGRMiRkiR iRiRzgš™™™™™¹?Rgš™™™™™É?Rg333333Ó?Rgš™™™™™Ù?R,R5R‘R“R‚t2t3t4s0.1s0.2s0.3s0.4i(RRlR{RXRYR$R™Rš(RRmRnRoRZ((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_infoÃs('  cCsŠtj|jƒ}tj|jƒ}|j|jƒgƒ|jd|ƒ|j|jƒ|gƒ|jtƒ|jdƒWdQXdS(NRGi(RRRR$t place_slavesRlR™Rš(RR›tbar((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_place_slavesÙsN(RcRdReRfRRwR}RRƒR„R‡RŠRŒRŽRR•RœR R£(((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyRgs      tGridTestcBseZdZd„Zd„Zd„Zd„Zd„Zd„Z d„Z d„Z d„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!RS(c CsÂ|jjƒ\}}x@t|dƒD].}|jj|ddddddddƒq&Wx@t|dƒD].}|jj|ddddddddƒqiW|jjdƒtt|ƒjƒdS(NitweightitminsizetpadtuniformRp( Rt grid_sizetrangetgrid_columnconfiguretgrid_rowconfiguretgrid_propagatetsuperR¤ttearDown(Rtcolstrowsti((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyR¯çs,,cCsùtj|jƒ}|j|jƒiƒ|jƒ|j|jƒd|jƒ|j|jƒd|jdƒƒ|j|jƒd|jdƒƒ|jidd6ddƒ|j|jƒd|jdƒƒ|j|jƒd|jdƒƒdS(NRWtcolumnitrowii(RtButtonRR$t grid_infotgrid_configureRP(RR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_configureðs ###cCsrtj|jƒ}|jtdƒ|jddƒWdQX|jddƒ|j|jƒd|jdƒƒdS(Ns5bad column value "-1": must be a non-negative integerR³iÿÿÿÿi( RRµRR"RR·R$R¶RP(RR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_configure_columnûs cCsrtj|jƒ}|jtdƒ|jddƒWdQX|jddƒ|j|jƒd|jdƒƒdS(Ns4bad columnspan value "0": must be a positive integert columnspanii( RRµRR"RR·R$R¶RP(RR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_configure_columnspans cCsÃtj|jƒ}tj|jƒ}|j|jƒiƒ|jƒ|j|jƒd|jƒ|jd|ƒ|j|jƒd|ƒ|ji|jd6ƒ|j|jƒd|jƒdS(NRWRG(RRRRµR$R¶R·(RRnR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_configure_in s cCs¸tj|jƒ}|jtdƒ|jddƒWdQX|jddƒ|j|jƒd|jdƒƒ|jddƒ|j|jƒd|jt t dƒ|j ƒƒƒdS(Ns6bad ipadx value "-1": must be positive screen distanceR'iÿÿÿÿis.5c( RRµRR"RR·R$R¶RPRRtscaling(RR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_configure_ipadxs#cCs¸tj|jƒ}|jtdƒ|jddƒWdQX|jddƒ|j|jƒd|jdƒƒ|jddƒ|j|jƒd|jt t dƒ|j ƒƒƒdS(Ns6bad ipady value "-1": must be positive screen distanceR)iÿÿÿÿis.5c( RRµRR"RR·R$R¶RPRRR½(RR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_configure_ipady!s#cCsëtj|jƒ}|jtdƒ|jddƒWdQX|jddƒ|j|jƒd|jdƒƒ|jddƒ|j|jƒd|jd ƒƒ|jddƒ|j|jƒd|jt t dƒ|j ƒƒƒdS( Ns4bad pad value "-1": must be positive screen distanceR(iÿÿÿÿii is.5c(i i(i i( RRµRR"RR·R$R¶RPRRR½(RR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_configure_padx,s##cCsëtj|jƒ}|jtdƒ|jddƒWdQX|jddƒ|j|jƒd|jdƒƒ|jddƒ|j|jƒd|jd ƒƒ|jddƒ|j|jƒd|jt t dƒ|j ƒƒƒdS( Ns4bad pad value "-1": must be positive screen distanceR*iÿÿÿÿii is.5c(i i(i i( RRµRR"RR·R$R¶RPRRR½(RR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_configure_pady9s##cCsrtj|jƒ}|jtdƒ|jddƒWdQX|jddƒ|j|jƒd|jdƒƒdS(Ns9bad (row|grid) value "-1": must be a non-negative integerR´iÿÿÿÿi( RRµRR"RR·R$R¶RP(RR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_configure_rowFs cCsrtj|jƒ}|jtdƒ|jddƒWdQX|jddƒ|j|jƒd|jdƒƒdS(Ns1bad rowspan value "0": must be a positive integertrowspanii( RRµRR"RR·R$R¶RP(RR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_configure_rownspanNs cCs™tj|jddƒ}|jtdƒ|jddƒWdQX|jddƒ|j|jƒddƒ|jddƒ|j|jƒddƒdS( NRRsbad stickyness value "glue"tstickytglueR3sn,s,e,wtnesw(RRRR"RR·R$R¶(RRn((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_configure_stickyVsc Csá|jtƒ|jjƒWdQX|j|jjdƒidd6dd6dd6dd6ƒ|jtdƒ|jjddƒWdQX|jjddd ƒ|jtd ƒ|jjdƒWdQXtj |jƒ}|j d dd dƒt dkr[|jjdddƒ|jtdƒ|jjdƒWdQX|j|jjddƒdƒn|j|jjddƒd ƒ|j|jjddƒdƒt dkrÝ|jj|ddƒ|j|jjddƒdƒndS(NiR¦R§R¨R¥sbad option "-foo"R›iis*must specify a single element on retrievalR³R´iitallsexpected integer but got "all"i i(ii(ii(ii(ii( R™RšRR«R$ReR"RRRµR·R(RR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_columnconfigure_s,#   " cCsˆ|jtdƒ|jjdddƒWdQX|jjdddƒ|j|jjddƒdƒ|j|jjdƒddƒdS(Nsbad screen distance "foo"iR¦R›i (R"RRR«R$(R((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyt!test_grid_columnconfigure_minsizews c Cs·|jtdƒ|jjdddƒWdQX|jtdƒ|jjdddƒWdQX|jjdddƒ|j|jjddƒdƒ|j|jjdƒddƒdS(Nsexpected integer but got "bad"iR¥tbads-invalid arg "-weight": should be non-negativeiýÿÿÿi(R"RRR«R$(R((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyt test_grid_columnconfigure_weight~sc Cs·|jtdƒ|jjdddƒWdQX|jtdƒ|jjdddƒWdQX|jjdddƒ|j|jjddƒdƒ|j|jjdƒddƒdS(Nsbad screen distance "foo"iR§R›s*invalid arg "-pad": should be non-negativeiýÿÿÿi(R"RRR«R$(R((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_columnconfigure_padˆscCsY|jjdddƒ|j|jjddƒdƒ|j|jjdƒddƒdS(NiR¨R›(RR«R$(R((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyt!test_grid_columnconfigure_uniform’sc Csá|jtƒ|jjƒWdQX|j|jjdƒidd6dd6dd6dd6ƒ|jtdƒ|jjddƒWdQX|jjddd ƒ|jtd ƒ|jjdƒWdQXtj |jƒ}|j d dd dƒt dkr[|jjdddƒ|jtdƒ|jjdƒWdQX|j|jjddƒdƒn|j|jjddƒd ƒ|j|jjddƒdƒt dkrÝ|jj|ddƒ|j|jjddƒdƒndS(NiR¦R§R¨R¥sbad option "-foo"R›iis*must specify a single element on retrievalR³R´iiRÉsexpected integer but got "all"i i(ii(ii(ii(ii( R™RšRR¬R$ReR"RRRµR·R(RR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_rowconfigure—s,#   " cCsˆ|jtdƒ|jjdddƒWdQX|jjdddƒ|j|jjddƒdƒ|j|jjdƒddƒdS(Nsbad screen distance "foo"iR¦R›i (R"RRR¬R$(R((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_rowconfigure_minsize¯s c Cs·|jtdƒ|jjdddƒWdQX|jtdƒ|jjdddƒWdQX|jjdddƒ|j|jjddƒdƒ|j|jjdƒddƒdS(Nsexpected integer but got "bad"iR¥RÌs-invalid arg "-weight": should be non-negativeiýÿÿÿi(R"RRR¬R$(R((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_rowconfigure_weight¶sc Cs·|jtdƒ|jjdddƒWdQX|jtdƒ|jjdddƒWdQX|jjdddƒ|j|jjddƒdƒ|j|jjdƒddƒdS(Nsbad screen distance "foo"iR§R›s*invalid arg "-pad": should be non-negativeiýÿÿÿi(R"RRR¬R$(R((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_rowconfigure_padÀscCsY|jjdddƒ|j|jjddƒdƒ|j|jjdƒddƒdS(NiR¨R›(RR¬R$(R((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_rowconfigure_uniformÊscCsŸtj|jƒ}tj|jƒ}|jdddddddddddd d d ƒ|j|jjƒ|gƒ|jƒ|jƒ|j|jjƒgƒ|j|jƒiƒ|jdd dd ƒ|jƒ}|j|d|jd ƒƒ|j|d|jd ƒƒ|j|d|jd ƒƒ|j|d|jd ƒƒ|j|d|jd ƒƒ|j|d|jd ƒƒ|j|d dƒdS(NR´iR³RÃRºR(iR*iRÅtnsiiRp( RRµRR·R$t grid_slavest grid_forgetR¶RP(RRRRZ((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_forgetÏs$!   cCsŸtj|jƒ}tj|jƒ}|jdddddddddddd d d ƒ|j|jjƒ|gƒ|jƒ|jƒ|j|jjƒgƒ|j|jƒiƒ|jdd dd ƒ|jƒ}|j|d|jd ƒƒ|j|d|jd ƒƒ|j|d|jdƒƒ|j|d|jdƒƒ|j|d|jdƒƒ|j|d|jd ƒƒ|j|d d ƒdS( NR´iR³RÃRºR(iR*iRÅRÕi( RRµRR·R$RÖt grid_removeR¶RP(RRRRZ((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_removeãs$!   cCsUtj|jƒ}|j|jƒiƒ|jdddddddddddd d d ƒ|jƒ}|j|tƒ|j|d |jƒ|j|d|jdƒƒ|j|d|jdƒƒ|j|d|jdƒƒ|j|d|jdƒƒ|j|d|jdƒƒ|j|d|jd ƒƒ|j|d d ƒdS( NR´iR³RÃRºR(iR*iRÅRÕRW( RRµRR$R¶R·RXRYRP(RRRZ((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_info÷s! cCsÃ|j|jjƒdƒ|j|jjddƒdƒ|j|jjddddƒdƒ|jtdƒ|jjddƒWdQX|jtdƒ|jjddƒWdQX|jtdƒ|jjddddƒWdQX|jtdƒ|jjddddƒWdQX|jtƒ!|jjdddddƒWdQX|j}|jdƒ|jdƒtj |ddd dd d ƒ}tj |dd d d d d ƒ}|j ddddƒ|j ddddƒ|jj ƒ|j|jƒdƒ|j|jddƒdƒ|j|jddddƒdƒ|j|jddƒdƒ|j|jddddƒdƒ|j|jddddƒdƒ|j|jddddƒdƒdS(Niisexpected integer but got "x"RMs1x1+0+0RpR iKRRRiZRR´R³i¥i iþÿÿÿiÿÿÿÿi (iiii(iiii(iiii(iii¥i¥(iiiKiK(iii¥i¥(iKiKiZiZ(iii¥i¥(iiii(i¥i¥ii( R$Rt grid_bboxR"RR™RšRRRR·R.(RRmtf1Ro((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_bboxs8%"   !! """cCs‚|jtƒ|jjƒWdQX|jtƒ|jjdƒWdQX|jtƒ|jjdddƒWdQX|jtdƒ|jjddƒWdQX|jtdƒ|jjddƒWdQX|j}|jdƒ|jdƒtj|d d d d d dddƒ}|j |jddƒdƒ|j ƒ|jj ƒ|j |jddƒdƒ|j |jddƒdƒ|j |jddƒdƒ|j |jddƒdƒ|j |jddƒdƒ|j |jddƒdƒ|j |jd dƒdƒ|j |jddƒdƒ|j |jdd ƒdƒ|j |jddƒd ƒ|j |jddƒd!ƒdS("Nisbad screen distance "x"RMRksbad screen distance "y"RNs1x1+0+0RpR iÈRidthighlightthicknessRRi iÿÿÿÿiöÿÿÿiÉiie(iÿÿÿÿiÿÿÿÿ(iÿÿÿÿiÿÿÿÿ(iÿÿÿÿi(iÿÿÿÿi(iiÿÿÿÿ(iiÿÿÿÿ(ii(ii(ii(ii(ii(ii( R™RšRt grid_locationR"RRRRR$R·R.(RRmRn((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_location&s:     c Cs«|j|jjƒtƒ|jtƒ|jjttƒWdQX|jjtƒ|j|jjƒƒtj |jddddddƒ}|j ddddƒ|jj ƒ|j|j ƒdƒ|j|j ƒdƒ|jtƒtj |jdd dd dd ƒ}|j d |ddddƒ|jj ƒ|j|j ƒdƒ|j|j ƒdƒ|jtƒ|jj ƒ|j|j ƒd ƒ|j|j ƒd ƒdS( NR idRRRR´iR³iKiURRG(R$RR­R-R™RšR^R—RRR·R.R‰R‹(RRntg((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_propagateFs($  $   cCs³|jtƒ|jjdƒWdQX|j|jjƒdƒtj|jƒ}|jddddƒ|j|jjƒd ƒ|jddddƒ|j|jjƒd ƒdS( NiR´R³iiii(ii(ii(ii(R™RšRR©R$RtScaleR·(RRn((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_size\scCs¡|j|jjƒgƒtj|jƒ}|jddddƒtj|jƒ}|jddddƒtj|jƒ}|jddddƒtj|jƒ}|jddddƒ|j|jjƒ||||gƒ|j|jjddƒ|gƒ|j|jjddƒ|||gƒ|j|jjddƒ|gƒ|j|jjddƒ|||gƒ|j|jjddddƒ||gƒdS(NR´iR³i(R$RRÖRtLabelR·(RR RRR((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyttest_grid_slavesfs%"("(N("RcRdReRfR¯R¸R¹R»R¼R¾R¿RÀRÁRÂRÄRÈRÊRËRÍRÎRÏRÐRÑRÒRÓRÔRØRÚRÛRÞRáRãRåRç(((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyR¤ãs>                t__main__(tunittestRttTkinterRRttest.test_supportRRttest_ttk.supportRRRt widget_testsRRtTestCaseR RgR¤t tests_guiRc(((sG/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_geometry_managers.pyts    ÿ Ìÿ—