asda?‰PNG  IHDR ? f ??C1 sRGB ??é gAMA ±? üa pHYs ? ??o¨d GIDATx^íüL”÷e÷Y?a?("Bh?_ò???¢§?q5k?*:t0A-o??¥]VkJ¢M??f?±8\k2íll£1]q?ù???T  {fc@szdZddlmZddlZddlZddlmZdejfdYZ e dkrvej dd ndS( sTTest (selected) IDLE Edit menu items. Edit modules have their own test files files i(trequiresN(tPyShellt PasteTestcBsbeZdZedZedZdZdZdZdZ dZ dZ RS( seTest pasting into widgets that allow pasting. On X11, replacing selections requires tk fix. cCstdtj|_}|jtj|tj||_tj ||_ tj ||_ |j |jddS(Ntguittwo(RttktTktroottwithdrawRt fix_x11_pastetTextttexttEntrytentrytSpinboxtspintclipboard_cleartclipboard_append(tclsR((s7/usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyt setUpClasss    cCsP|`|`|`|jj|jj|jj|jj|`dS(N(R R RRRtupdate_idletaskstupdatetdestroy(R((s7/usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyt tearDownClasss     cCse|j}d\}}|jdd|jdd||jd|j|jdd|dS( s+Test pasting into text without a selection.tsonetwo s1.0tendtones <>N(Rsonetwo (R tdeletetinserttevent_generatet assertEqualtget(tselfR ttagtans((s7/usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyttest_paste_text_no_selection&s    cCse|j}d\}}|jdd|jdd||jd|j|jdd|dS( s(Test pasting into text with a selection.tselstwo s1.0RRs <>N(R$stwo (R RRRRR(R R R!R"((s7/usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyttest_paste_text_selection/s    cCsl|j}d\}}|jdd|jdd|jd||jd|j|j|dS(s/Test pasting into an entry without a selection.itonetwoRRs <>N(iR&(R RRt select_rangeRRR(R R RR"((s7/usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyttest_paste_entry_no_selection8s   cCsl|j}d\}}|jdd|jdd|jd||jd|j|j|dS(s,Test pasting into an entry with a selection.RRiRs <>N(RR(R RRR'RRR(R R RR"((s7/usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyttest_paste_entry_selectionDs   cCso|j}d\}}|jdd|jdd|jdd||jd|j|j|dS( s0Test pasting into a spinbox without a selection.iR&RRtranges <>N(iR&(RRRt selectionRRR(R RRR"((s7/usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyttest_paste_spin_no_selectionNs   cCso|j}d\}}|jdd|jdd|jdd||jd|j|j|dS( s-Test pasting into a spinbox with a selection.RRiRR*s <>N(RR(RRRR+RRR(R RRR"((s7/usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyttest_paste_spin_selectionYs   ( t__name__t __module__t__doc__t classmethodRRR#R%R(R)R,R-(((s7/usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyR s  t__main__t verbosityi( R0ttest.test_supportRtTkinterRtunittesttidlelibRtTestCaseRR.tmain(((s7/usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyts  Y