+
     BiO<                     
   R t ^ RIHt ^ RIt^ RIHt ^ RIHtHt ^ RI	t	^ RIH
t
 ^ RIHt  ! R R]P                  4      t ! R	 R
]P                  4      t ! R R]P                  4      t ! R R]P                  4      t ! R R]P                  4      t ! R R]P                  4      t ! R R]P                  4      t ! R R]P                  4      t ! R R]P                  4      t ! R R]P                  4      t ! R R]P                  4      t ! R R]P                  4      t ! R R ]P                  4      t ! R! R"]P                  4      t ! R# R$]P                  4      t]R%8X  d   ]P<                  ! ^R&R'7       R# R# )(a  Test query, coverage 93%.

Non-gui tests for Query, SectionName, ModuleName, and HelpSource use
dummy versions that extract the non-gui methods and add other needed
attributes.  GUI tests create an instance of each class and simulate
entries and button clicks.  Subclass tests only target the new code in
the subclass definition.

The appearance of the widgets is checked by the Query and
HelpSource htests.  These are run by running query.py.
)queryNrequires)TkEND)mock)Varc                   V   a  ] tR t^t o Rt ! R R4      tR tR tR tR t	R t
R	tV tR
# )	QueryTestzTest Query base class.c                      a  ] tR t^t o ]P
                  P                  t]P
                  P                  t]P
                  P                  tR t	R t
R tRtV tR# )QueryTest.Dummy_Queryc                V    \        VR 7      V n        RR/V n        RV n        RV n        R# )valuetext NF)r   entryentry_errorresult	destroyedselfdummy_entrys   &&3/usr/lib/python3.14/idlelib/idle_test/test_query.py__init__QueryTest.Dummy_Query.__init__!   s(    ;/DJ &|DDK"DN    c                "    WP                   R &   R# r   Nr   r   messages   &&r   	showerrorQueryTest.Dummy_Query.showerror&       '.V$r   c                    R V n         R# )TN)r   r   s   &r   destroyQueryTest.Dummy_Query.destroy(   s	    !DNr   )r   r   r   r   N)__name__
__module____qualname____firstlineno__r   Queryentry_okokcancelr   r"   r'   __static_attributes____classdictcell____classdict__s   @r   Dummy_Queryr      sD     ;;''[[^^##	#
	/	" 	"r   r5   c                    V P                  R 4      pV P                  VP                  4       R4       V P                  VP                  VP                  3R4       V P                  RVP                  R,          4       R# ) Nz
blank liner   NF)r5   assertEqualr.   r   r   assertInr   r   dialogs   & r   test_entry_ok_blankQueryTest.test_entry_ok_blank+   sa    !!#&*D1&--)9)9:MJlF$6$6v$>?r   c                    V P                  R 4      pV P                  pV! VP                  4       R4       V! VP                  VP                  3R4       V! VP
                  R,          R4       R# )  good goodNr   r   r8   )r5   r9   r.   r   r   r   )r   r<   Equals   &  r   test_entry_ok_goodQueryTest.test_entry_ok_good1   s\    !!),  foo(v}}f../?f  ("-r   c                v   V P                  R 4      p\        P                  ! 4       VP                  n        V P                  VP                  4       R4       V P                  VP                  P                  P                  4       VP                  =V P                  VP                  VP                  3R4       R# )r   Nr8   )r5   r   Mockr   	focus_setr9   r/   
assertTruecalledr   r   r;   s   & r   test_ok_blankQueryTest.test_ok_blank8   s    !!"%!%d+..556LL"&--)9)9:MJr   c                    V P                  R 4      pV P                  VP                  4       R4       V P                  VP                  VP                  3R4       R# )rA   N)rA   T)r5   r9   r/   r   r   r;   s   & r   test_ok_goodQueryTest.test_ok_good@   sG    !!&)d+&--)9)9:NKr   c                    V P                  R 4      pV P                  VP                  4       R4       V P                  VP                  VP                  3R4       R# )zdoes not matterN)NT)r5   r9   r0   r   r   r;   s   & r   test_cancelQueryTest.test_cancelE   sH    !!"34$/&--)9)9:LIr    N)r)   r*   r+   r,   __doc__r5   r=   rC   rJ   rM   rP   r1   r2   r3   s   @r   r
   r
      s5     " " @.KL
J Jr   r
   c                   P   a  ] tR t^Kt o Rt ! R R4      tR tR tR tR t	Rt
V tR	# )
SectionNameTestz#Test SectionName subclass of Query.c                   ^   a  ] tR t^Nt o ]P
                  P                  tR.tR tR t	Rt
V tR# )!SectionNameTest.Dummy_SectionNameusedc                :    \        VR 7      V n        RR/V n        R# r   r   r   Nr   r   r   r   s   &&r   r   *SectionNameTest.Dummy_SectionName.__init__Q       ;/DJ &|Dr   c                "    WP                   R &   R# r   r   r    s   &&r   r"   +SectionNameTest.Dummy_SectionName.showerrorT   r$   r   r   r   N)r)   r*   r+   r,   r   SectionNamer.   
used_namesr   r"   r1   r2   r3   s   @r   Dummy_SectionNamerW   N   s,     $$--X
	,	/ 	/r   rc   c                    V P                  R 4      pV P                  VP                  4       R4       V P                  RVP                  R,          4       R# r7   Nzno namer   rc   r9   r.   r:   r   r;   s   & r   test_blank_section_name'SectionNameTest.test_blank_section_nameW   sB    '',*D1i!3!3F!;<r   c                    V P                  R 4      pV P                  VP                  4       R4       V P                  RVP                  R,          4       R# )rX   Nuser   rf   r;   s   & r   test_used_section_name&SectionNameTest.test_used_section_name\   sB    ''/*D1eV//78r   c                    V P                  R4      pV P                  VP                  4       R4       V P                  RVP                  R,          4       R# )rA   Nzlonger than 30r    goodgoodgoodgoodgoodgoodgoodgoodrf   r;   s   & r   test_long_section_name&SectionNameTest.test_long_section_namea   sC    ''1*D1&(:(:6(BCr   c                    V P                  R 4      pV P                  VP                  4       R4       V P                  VP                  R,          R4       R# )r@   rA   r   r   N)rc   r9   r.   r   r;   s   & r   test_good_section_name&SectionNameTest.test_good_section_namef   sD    ''	2*F3++F3R8r   rR   N)r)   r*   r+   r,   rS   rc   rg   rk   ro   rr   r1   r2   r3   s   @r   rU   rU   K   s,     )/ /=
9
D
9 9r   rU   c                   P   a  ] tR t^lt o Rt ! R R4      tR tR tR tR t	Rt
V tR	# )
ModuleNameTestz"Test ModuleName subclass of Query.c                   \   a  ] tR t^ot o ]P
                  P                  tRtR tR t	Rt
V tR# )ModuleNameTest.Dummy_ModuleNamer   c                :    \        VR 7      V n        RR/V n        R# rZ   r[   r   s   &&r   r   (ModuleNameTest.Dummy_ModuleName.__init__r   r]   r   c                "    WP                   R &   R# r   r   r    s   &&r   r"   )ModuleNameTest.Dummy_ModuleName.showerroru   r$   r   r`   N)r)   r*   r+   r,   r   
ModuleNamer.   text0r   r"   r1   r2   r3   s   @r   Dummy_ModuleNamerw   o   s*     ##,,	,	/ 	/r   r~   c                    V P                  R 4      pV P                  VP                  4       R4       V P                  RVP                  R,          4       R# re   r~   r9   r.   r:   r   r;   s   & r   test_blank_module_name%ModuleNameTest.test_blank_module_namex   sB    &&s+*D1i!3!3F!;<r   c                    V P                  R 4      pV P                  VP                  4       R4       V P                  RVP                  R,          4       R# ) __name_xyz123_should_not_exist__Nz	not foundr   r   r;   s   & r   test_bogus_module_name%ModuleNameTest.test_bogus_module_name}   sC    &&'IJ*D1k6#5#5f#=>r   c                    V P                  R 4      pV P                  VP                  4       R4       V P                  RVP                  R,          4       R# )	itertoolsNzsource-basedr   r   r;   s   & r   test_c_source_name!ModuleNameTest.test_c_source_name   sB    &&{3*D1nf&8&8&@Ar   c                V   V P                  R 4      pV P                  VP                  4       R4       V P                  VP                  R,          R4       V P                  R4      pV P                  VP                  4       R4       V P                  VP                  R,          R4       R# )idlelib__init__.pyr   r   zidlelib.idlezidle.pyN)r~   assertEndsWithr.   r9   r   r;   s   & r   test_good_module_name$ModuleNameTest.test_good_module_name   s    &&y1FOO-}=++F3R8&&~6FOO-y9++F3R8r   rR   N)r)   r*   r+   r,   rS   r~   r   r   r   r   r1   r2   r3   s   @r   ru   ru   l   s,     (/ /=
?
B
9 9r   ru   c                   J   a  ] tR t^t o Rt ! R R4      tR tR tR tRt	V t
R# )	GotoTestzTest Goto subclass of Query.c                   X   a  ] tR t^t o ]P
                  P                  tR tR tRt	V t
R# )GotoTest.Dummy_ModuleNamec                :    \        VR 7      V n        RR/V n        R# rZ   r[   r   s   &&r   r   "GotoTest.Dummy_ModuleName.__init__   r]   r   c                "    WP                   R &   R# r   r   r    s   &&r   r"   #GotoTest.Dummy_ModuleName.showerror   r$   r   r`   N)r)   r*   r+   r,   r   Gotor.   r   r"   r1   r2   r3   s   @r   r~   r      s#     ::&&	,	/ 	/r   r~   c                    V P                  R 4      pV P                  VP                  4       R4       V P                  RVP                  R,          4       R# )aNznot a base 10 integerr   r   r;   s   & r   test_bogus_gotoGotoTest.test_bogus_goto   sC    &&s+*D1-v/A/A&/IJr   c                    V P                  R 4      pV P                  VP                  4       R4       V P                  RVP                  R,          4       R# )0Nznot a positive integerr   r   r;   s   & r   test_bad_gotoGotoTest.test_bad_goto   sC    &&s+*D1.0B0B60JKr   c                    V P                  R 4      pV P                  VP                  4       ^4       V P                  VP                  R,          R4       R# )1r   r   N)r~   r9   r.   r   r;   s   & r   test_good_gotoGotoTest.test_good_goto   sD    &&s+*A.++F3R8r   rR   N)r)   r*   r+   r,   rS   r~   r   r   r   r1   r2   r3   s   @r   r   r      s(     "/ /K
L
9 9r   r   c                   >   a  ] tR t^t o Rt ! R R4      tR tRtV tR# )HelpsourceBrowsefileTestz8Test browse_file method of ModuleName subclass of Query.c                   P    ] tR t^t]P
                  P                  t]! 4       tRt	R# ))HelpsourceBrowsefileTest.Dummy_HelpSourcerR   N)
r)   r*   r+   r,   r   
HelpSourcebrowse_filer   pathvarr1   rR   r   r   Dummy_HelpSourcer      s    &&22%r   r   c                   V P                  4       pR R R 3R R \        3RR R3RR \        33 F  w  r#pV P                  4       ;_uu_ 4        VP                  P	                  V4       W1n        VP                  4        V P                  VP                  P                  4       V4       RRR4       K  	  R#   + '       g   i     K  ; i)r   c                     R # r   rR   r   bcs   &&&r   <lambda>BHelpsourceBrowsefileTest.test_file_replaces_path.<locals>.<lambda>   s    "r   c                     \         # N__file__r   s   &&&r   r   r      s    8r   htestc                     R # r   rR   r   s   &&&r   r   r      s    rr   c                     \         # r   r   r   s   &&&r   r   r      s    r   N)	r   r   subTestr   setaskfilenamer   r9   get)r   r<   pathfuncr   s   &    r   test_file_replaces_path0HelpsourceBrowsefileTest.test_file_replaces_path   s    &&( _b)+X6/730(;	#=D
 ""4(%)"""$  !3!3!5v>	  #=
  s   AB77CrR   N)	r)   r*   r+   r,   rS   r   r   r1   r2   r3   s   @r   r   r      s     > ? ?r   r   c                   x   a  ] tR t^t o Rt ! R R4      t]P                  t]	R 4       t
R tR tR tR tR	tV tR
# )HelpsourcePathokTestz4Test path_ok method of HelpSource subclass of Query.c                   \   a  ] tR t^t o ]P
                  P                  tR tRR ltRt	V t
R# )%HelpsourcePathokTest.Dummy_HelpSourcec                :    \        VR 7      V n        RR/V n        R# rZ   )r   r   
path_error)r   
dummy_paths   &&r   r   .HelpsourcePathokTest.Dummy_HelpSource.__init__   s    *-DI%rlDOr   Nc                "    WP                   R &   R# r   )r   )r   r!   widgets   &&&r   r"   /HelpsourcePathokTest.Dummy_HelpSource.showerror   s    &-OOF#r   )r   r   r   )r)   r*   r+   r,   r   r   path_okr   r"   r1   r2   r3   s   @r   r   r      s%     ""**	+	. 	.r   r   c                0    V P                   \        n        R # r   )orig_platformr   platformclss   &r   tearDownClass"HelpsourcePathokTest.tearDownClass   s    **r   c                    V P                  R 4      pV P                  VP                  4       R4       V P                  RVP                  R,          4       R# )r7   Nzno help filer   )r   r9   r   r:   r   r;   s   & r   test_path_ok_blank'HelpsourcePathokTest.test_path_ok_blank   sB    &&s+)40nf&7&7&?@r   c                    V P                  \        R ,           4      pV P                  VP                  4       R4       V P	                  RVP
                  R,          4       R# )zbad-bad-badNz	not existr   )r   r   r9   r   r:   r   r;   s   & r   test_path_ok_bad%HelpsourcePathokTest.test_path_ok_bad   sG    &&x-'?@)40k6#4#4V#<=r   c                x   V P                  R 4      pV P                  pR F  pV P                  4       ;_uu_ 4        VP                  P	                  V4       V P                  VP                  4       V4       V P                  VP                  R,          R 4       RRR4       K  	  R#   + '       g   i     K  ; i)r   r   N)z
www.py.orgzhttp://py.org)r   r9   r   r   r   r   r   )r   r<   rB   urls   &   r   test_path_ok_web%HelpsourcePathokTest.test_path_ok_web   s    &&r*  0C$  !137  !2!26!:B?   1s   AB((B9c                   V P                  R 4      pR F  w  r#V P                  4       ;_uu_ 4        V\        n        VP                  P                  \        4       V P                  VP                  4       V\        ,           4       V P                  VP                  R,          R 4       RRR4       K  	  R#   + '       g   i     K  ; i)r   r   N))darwinfile://)otherr   )
r   r   r   r   r   r   r   r9   r   r   )r   r<   r   prefixs   &   r   test_path_ok_file&HelpsourcePathokTest.test_path_ok_file   s    &&r* DH!))  !16H3DE  !2!26!:B?	   !Es   A9B88C	rR   N)r)   r*   r+   r,   rS   r   r   r   r   classmethodr   r   r   r   r   r1   r2   r3   s   @r   r   r      sL     :. . NNM+ +A
>
@@ @r   r   c                   >   a  ] tR t^t o Rt ! R R4      tR tRtV tR# )HelpsourceEntryokTestz5Test entry_ok method of HelpSource subclass of Query.c                   `   a  ] tR t^t o ]P
                  P                  t/ t/ tR t	R t
RtV tR# )&HelpsourceEntryokTest.Dummy_HelpSourcec                    V P                   # r   )namer&   s   &r   item_ok.HelpsourceEntryokTest.Dummy_HelpSource.item_ok       99r   c                    V P                   # r   )r   r&   s   &r   r   .HelpsourceEntryokTest.Dummy_HelpSource.path_ok   r   r   rR   N)r)   r*   r+   r,   r   r   r.   r   r   r   r   r1   r2   r3   s   @r   r   r      s/     ##,,
		 	r   r   c                   V P                  4       pR FU  w  r#pV P                  4       ;_uu_ 4        W#uVn        Vn        V P	                  VP                  4       V4       R R R 4       KW  	  R #   + '       g   i     Kl  ; i)N))NNN)Ndoc.txtN)docNN)r   r   )r   r   )r   r   r   r   r9   r.   )r   r<   r   r   r   s   &    r   test_entry_ok_helpsource.HelpsourceEntryokTest.test_entry_ok_helpsource   sf    &&(#KD +/(V[  !2F;  	#K  s   /A..A?rR   N)	r)   r*   r+   r,   rS   r   r   r1   r2   r3   s   @r   r   r      s     ; < <r   r   c                   J   a  ] tR tRt o Rt ! R R4      tR tR tR tRt	V t
R	# )
CustomRunCLIargsokTesti  z6Test cli_ok method of the CustomRun subclass of Query.c                   X   a  ] tR tRt o ]P
                  P                  tR tR tRt	V t
R# )&CustomRunCLIargsokTest.Dummy_CustomRuni  c                :    \        VR 7      V n        RR/V n        R# rZ   r[   r   s   &&r   r   /CustomRunCLIargsokTest.Dummy_CustomRun.__init__  r]   r   c                "    WP                   R &   R# r   r   r    s   &&r   r"   0CustomRunCLIargsokTest.Dummy_CustomRun.showerror  r$   r   r`   N)r)   r*   r+   r,   r   	CustomRuncli_args_okr   r"   r1   r2   r3   s   @r   Dummy_CustomRunr     s#     oo11	,	/ 	/r   r  c                h    V P                  R 4      pV P                  VP                  4       . 4       R# )r7   N)r  r9   r  r;   s   & r   test_blank_args&CustomRunCLIargsokTest.test_blank_args  s+    %%c*++-r2r   c                    V P                  R 4      pV P                  VP                  4       R4       V P                  RVP                  R,          4       R# )z'no-closing-quoteNz
No closingr   )r  r9   r  r:   r   r;   s   & r   test_invalid_args(CustomRunCLIargsokTest.test_invalid_args  sE    %%&9:++-t4lF$6$6v$>?r   c                    . ROpV P                  RP                  V4      R,           4      pV P                  VP                  4       VR.,           4       V P                  VP                  R,          R4       R# )-nr7   z
 "my name"zmy namer   r   N)r  10z	--verbosez-pz/pathz--name)r  joinr9   r  r   )r   argsr<   s   &  r   test_good_args%CustomRunCLIargsokTest.test_good_args   s_    A%%chhtn|&CD++-tyk/AB++F3R8r   rR   N)r)   r*   r+   r,   rS   r  r  r	  r  r1   r2   r3   s   @r   r   r     s'     </ /3@
9 9r   r   c                   >   a  ] tR tRt o Rt ! R R4      tR tRtV tR# )CustomRunEntryokTesti'  z8Test entry_ok method of the CustomRun subclass of Query.c                   d   a  ] tR tRt o ]P
                  P                  t/ t]! 4       t	R t
RtV tR# )$CustomRunEntryokTest.Dummy_CustomRuni*  c                    V P                   # r   )cli_argsr&   s   &r   r  0CustomRunEntryokTest.Dummy_CustomRun.cli_args_ok.  s    == r   rR   N)r)   r*   r+   r,   r   r  r.   r   r   
restartvarr  r1   r2   r3   s   @r   r  r  *  s*     ??++U
	! 	!r   r  c           	     N   V P                  4       pR Fz  pVP                  P                  V4       RR.R.V333 FN  w  r4V P                  W#R7      ;_uu_ 4        W1n        V P                  VP                  4       V4       RRR4       KP  	  K|  	  R#   + '       g   i     Ki  ; i)TNzmy arg)restartr  >   FT)NN)r  r  r   r   r  r9   r.   )r   r<   r  r  r   s   &    r   test_entry_ok_customrun,CustomRunEntryokTest.test_entry_ok_customrun1  s    %%'$G!!'*%1'/jH:w2G%H%J \\'\EE&.O$$V__%6? FE%J % FEEs   'B	B$rR   N)	r)   r*   r+   r,   rS   r  r  r1   r2   r3   s   @r   r  r  '  s     >! !@ @r   r  c                   X   a  ] tR tRt o ]R 4       t]R 4       tR tR tR t	R t
RtV tR	# )
QueryGuiTesti>  c                    \        R 4       \        4       ;V n        pV P                  P                  4        \        P
                  ! VRRRR7      V n        \        P                  ! 4       V P                  n	        R# )guiTESTtestT_utestN)
r   r   rootwithdrawr   r-   r<   r   rF   r'   )r   r&  s   & r   
setUpClassQueryGuiTest.setUpClass@  sO    $4[[vvdC
!YY[

r   c                Z    V P                   =V = V P                  P                  4        V =R # r   )r<   r'   r&  r   s   &r   r   QueryGuiTest.tearDownClassH  s&    JJJHr   c                    V P                   P                  P                  ^ R4       RV P                   n        V P                   P                  P                  4        R# )    endN)r<   r   deleter   r'   
reset_mockr&   s   &r   setUpQueryGuiTest.setUpO  s>      E*!&&(r   c                   V P                   pVP                  P                  ^ R4       VP                  P	                  4        V P                  VP                  R4       V P                  VP                  P                  4       R# r-  abcN)
r<   r   insert	button_okinvoker9   r   rH   r'   rI   r;   s   & r   test_click_okQueryGuiTest.test_click_okT  s[    Au%!.--.r   c                    V P                   pVP                  P                  4        V P                  VP                  R 4       V P                  VP                  P                  4       R # r   )r<   r7  r8  r9   r   assertFalser'   rI   r;   s   & r   test_click_blankQueryGuiTest.test_click_blank[  sI    !-../r   c                   V P                   pVP                  P                  ^ R4       VP                  P	                  4        V P                  VP                  R4       V P                  VP                  P                  4       R# r4  )
r<   r   r6  button_cancelr8  r9   r   rH   r'   rI   r;   s   & r   test_click_cancelQueryGuiTest.test_click_cancela  s[    Au%##%---.r   rR   N)r)   r*   r+   r,   r   r(  r   r1  r9  r=  rA  r1   r2   r3   s   @r   r  r  >  sD     ) )  )
/0/ /r   r  c                   6   a  ] tR tRt o ]R 4       tR tRtV tR# )SectionnameGuiTestii  c                    \        R 4       R# r!  Nr   r   s   &r   r(  SectionnameGuiTest.setUpClassk  	    r   c                   \        4       pVP                  4        \        P                  ! VR RR0RR7      pV P                  pV P	                  VP
                  R04       VP                  P                  ^ R4       VP                  P                  4        V P	                  VP                  R4       VP                  4        R# )Ttr5  Tr$  okayN)r   r'  r   ra   r9   rb   r   r6  r7  r8  r   r'   )r   r&  r<   rB   s   &   r   test_click_section_name*SectionnameGuiTest.test_click_section_nameo  s    t##D#sUGDI  **UG4Av&!/r   rR   N)	r)   r*   r+   r,   r   r(  rM  r1   r2   r3   s   @r   rD  rD  i  !      	 	r   rD  c                   6   a  ] tR tRt o ]R 4       tR tRtV tR# )ModulenameGuiTesti{  c                    \        R 4       R# rF  r   r   s   &r   r(  ModulenameGuiTest.setUpClass}  rH  r   c                   \        4       pVP                  4        \        P                  ! VR RRRR7      pV P	                  VP
                  R4       V P	                  VP                  P                  4       R4       VP                  P                  4        V P                  VP                  R4       VP                  4        R# )rJ  rK  r   Tr$  r   N)r   r'  r   r|   r9   r}   r   r   r7  r8  r   r   r'   r   r&  r<   s   &  r   test_click_module_name(ModulenameGuiTest.test_click_module_name  s    t""4c9TJy1))+Y7!FMM=9r   rR   N	r)   r*   r+   r,   r   r(  rV  r1   r2   r3   s   @r   rQ  rQ  {  s!       r   rQ  c                   6   a  ] tR tRt o ]R 4       tR tRtV tR# )GotoGuiTesti  c                    \        R 4       R# rF  r   r   s   &r   r(  GotoGuiTest.setUpClass  rH  r   c                2   \        4       pVP                  4        \        P                  ! VR RRR7      pVP                  P                  ^ R4       VP                  P                  4        V P                  VP                  ^4       VP                  4        R# )rJ  rK  Tr$  22N)r   r'  r   r   r   r6  r7  r8  r9   r   r'   rU  s   &  r   rV  "GotoGuiTest.test_click_module_name  si    t**T3D9At$!+r   rR   NrX  r3   s   @r   rZ  rZ    s!       r   rZ  c                   6   a  ] tR tRt o ]R 4       tR tRtV tR# )HelpsourceGuiTesti  c                    \        R 4       R# rF  r   r   s   &r   r(  HelpsourceGuiTest.setUpClass  rH  r   c                   \        4       pVP                  4        \        P                  ! VR R\        RR7      pV P
                  pV! VP                  P                  4       R4       V! VP                  P                  4       \        4       VP                  P                  4        \        P                  R8X  d   RMRpV! VP                  RV\        ,           34       VP                  4        R# )rJ  __test__T)menuitemfilepathr%  r   r   r   N)r   r'  r   r   r   r9   r   r   r   r7  r8  sysr   r   r'   )r   r&  r<   rB   r   s   &    r   test_click_help_source(HelpsourceGuiTest.test_click_help_source  s    t""4z,4TC  fll *-fkkoo*!!llh6Bfmmj&8*;<=r   rR   N)	r)   r*   r+   r,   r   r(  ri  r1   r2   r3   s   @r   ra  ra    s!       r   ra  c                   6   a  ] tR tRt o ]R 4       tR tRtV tR# )CustomRunGuiTesti  c                    \        R 4       R# rF  r   r   s   &r   r(  CustomRunGuiTest.setUpClass  rH  r   c                   \        4       pVP                  4        \        P                  ! VR RR.RR7      pV P	                  VP
                  P                  4       R4       VP
                  P                  \        R4       VP                  P                  4        V P	                  VP                  . ROR34       VP                  4        R# )	Titler   b=1T)r  r%  za b=1z cN)r   rq  r   )r   r'  r   r  r9   r   r   r6  r   r7  r8  r   r'   rU  s   &  r   test_click_args CustomRunGuiTest.test_click_args  s    t//$,/<F))+W5C&!):D(ABr   rR   N)	r)   r*   r+   r,   r   r(  rr  r1   r2   r3   s   @r   rl  rl    rO  r   rl  __main__F)	verbosityexit)rS   r   r   unittesttest.supportr   tkinterr   r   rh  r   idlelib.idle_test.mock_tkr   TestCaser
   rU   ru   r   r   r   r   r   r  r  rD  rQ  rZ  ra  rl  r)   mainrR   r   r   <module>r}     sW  
   !  
  )
0J!! 0Jf9h'' 9B!9X&& !9H9x   9:?x00 ?2*@8,, *@Z<H-- <29X.. 96@8,, @.(/8$$ (/V** $)) "(##  )) (x(( $ zMMAE* r   