+
    Bi[                         ^ RI t ^ RIt^ RIHtHtHtHtHt ^ RIt	]
! 4       t ! R R]4      t ! R R4      t ! R R]4      t ! R	 R
4      t ! R R4      tR tR tR# )    N)AbstractTkTestrequires_tk
tk_versionpixels_conv
tcl_obj_eqc                     a  ] tR t^t o RtRt/ tRtRt]	R 4       t
R tR]P                  3R ltR]R	RR
R/R ltR R ltR tR tR	]/R ltR tRR/R ltR tR tRRRRRRRR/R ltR	R/R ltRR/R ltR tR tR tR t Rt!V t"R# )!AbstractWidgetTest TFc                     V P                   #   \         d:    \        T P                  P	                  R R4      4      T n         T P                   u # i ; i)tkscaling)_scalingAttributeErrorfloatrootcall)selfs   &5/usr/lib/python3.14/test/test_tkinter/widget_tests.pyr   AbstractWidgetTest.scaling   sE    	!==  	!!$))..y"ABDM== 	!s    AAAc                    V P                   '       g    V P                  '       d   \        R8  d   V# \        V\        4      '       d&   RP                  \        V P                  V4      4      # \        V4      # )    r      )	
_stringifywantobjectsr   
isinstancetuplejoinmap_strstr)r   values   &&r   r!   AbstractWidgetTest._str   sS    4#3#3#3
f8LLeU##88C		51225z    Nc                J    V! W4      '       d   R # V P                  WV4       R # N)assertEqual)r   actualexpectedmsgeqs   &&&&&r   assertEqual2AbstractWidgetTest.assertEqual2$   s     f3/r%   r*   convr,   c               x   W1V&   V\         J d   TpW P                  9   d#   \        V\        4      '       g   \	        V^ 4      pV'       d	   V! V4      pV P
                  '       g   V P                  '       g9   \        V\        4      '       d   \        P                  ! V4      pM\        V4      pVf   \        pV P                  W,          WFR7       V P                  VP                  V4      WFR7       VP                  V4      pV P                  \        V4      ^4       V P                  V^,          WFR7       R# )r   N)r,   )	_sentinel_clippedr   r"   maxr   r   r   tkinter_joinr   r-   cget	configurer(   len)r   widgetnamer#   r*   r/   r,   ts   &&&&$$$ r   
checkParamAbstractWidgetTest.checkParam)   s    ty H== h,,x+H~H???$"2"2"2(E**"==2x=:B&,8&++d+X=T"Q#!A$0r%   c                J   W,          pVe5   VP                  \        P                  ! \        V4      4      4      pRV R2pT P	                  \
        P                  T;'       g    R4      ;_uu_ 4        W1V&   R R R 4       V P                  W,          V4       T P	                  \
        P                  T;'       g    R4      ;_uu_ 4        VP                  W#/4       R R R 4       V P                  W,          V4       R #   + '       g   i     L; i  + '       g   i     L=; i)Nz\Az\zr
   )	formatreescaper"   assertRaisesRegexr4   TclErrorr(   r7   )r   r9   r:   r#   errmsgorigs   &&&&& r   checkInvalidParam$AbstractWidgetTest.checkInvalidParam@   s    |]]299SZ#89F6("%F##G$4$4fllCC 4L Dt,##G$4$4fllCCd]+ Dt, DC DCs   3C?
D?D	D"	c                @    V F  pV P                   ! WV3/ VB  K  	  R # r'   )r<   )r   r9   r:   valueskwargsr#   s   &&&*, r   checkParamsAbstractWidgetTest.checkParamsL   s    EOOF%:6: r%   c                    V P                   ! W.VO5/ VB  R pV P                  WRVR7       V P                  WRVR7       V P                  WRVR7       R# )expected integer but got "{}"r
   rD   10p皙	@NrK   rF   )r   r9   r:   rI   rJ   rD   s   &&&*, r   checkIntegerParam$AbstractWidgetTest.checkIntegerParamP   s^    99&90vR?vU6BvS@r%   c                   V F  pV P                   ! WV3R V/VB  K  	  RpV P                  WRVR7       V P                  WRVR7       R# )r/   z+expected floating-point number but got "{}"r
   rO   spamNr<   rF   )r   r9   r:   r/   rI   rJ   r#   rD   s   &&&$*,  r   checkFloatParam"AbstractWidgetTest.checkFloatParamW   sS    EOOF%EdEfE >vR?vVFCr%   c                    R F  pV P                  WV^ R7       K  	  R F  pV P                  WV^R7       K  	  RpV P                  WRVR7       V P                  WRVR7       R# )	Fr*   z#expected boolean value but got "{}"r
   rO   rV   N)Fr   falsenooff)T   trueyesonrW   )r   r9   r:   r#   rD   s   &&&  r   checkBooleanParam$AbstractWidgetTest.checkBooleanParam^   si    5EOOF%!O< 63EOOF%!O< 46vR?vVFCr%   allow_emptyc               h    V P                   ! WR RRRRRRRRR	3/ VB  V P                  WR
RR7       R# )z#ff0000z#00ff00z#0000ffz#123456redgreenbluewhiteblackgreyrV   zunknown color name "spam"rO   NrR   )r   r9   r:   re   rJ   s   &&&$,r   checkColorParam"AbstractWidgetTest.checkColorParamg   sN    "Iy)'6	# "	# 	vV2 	 	4r%   c                    V P                   ! WR RRR3/ VB  V P                  WR4       V P                  WRRR7       R# )	arrowwatchcrossr
   nonerV   zbad cursor spec "spam"rO   N)rK   r<   rF   )r   r9   r:   rJ   s   &&&,r   checkCursorParam#AbstractWidgetTest.checkCursorParamo   sE    w"NvNf-vV/ 	 	1r%   c                f    R  pW1V&   V P                  W,          4       V P                  WR4       R# )c                      R # r'    )argss   *r   command5AbstractWidgetTest.checkCommandParam.<locals>.commandv   s    r%   r
   N)
assertTruerK   )r   r9   r:   rz   s   &&& r   checkCommandParam$AbstractWidgetTest.checkCommandParamu   s,    	t%r*r%   rD   fullnamesortc                  V P                   ! W.VO5/ VB  Vf   V'       dC   VR,          '       d   \        \        V4      4      pM\        \        VR R 4      4      R,           pRT;'       g    T: RRP                  VR R 4      : \	        V4      ^8  d   RMR: RVR,          ;'       g    R: 2p	RV9  d$   V'       g   V P                  WRRV	,           R	7       R
V	,           pV P                  WRVR	7       R # )Nr
   r   z "{}": must be , ,z or ""	ambiguousrO   badrV   r
   )rK   r   sortedr   r8   rF   )
r   r9   r:   rD   re   r   r   rI   rJ   errmsg2s
   &&&$$$$*, r   checkEnumParam!AbstractWidgetTest.checkEnumParam|   s     	99&9>"::"6&>2F"6&"+#67%?F$$$IIfSbk*v;?C22J&&$&	(G
 &&vR.9G.C ' EW_FvVFCr%   c                  V P                   '       d   W P                  9   d   R pMV\        8w  d   \        pV F  p\        pTp\        V\        4      '       dN   \        V RR4      '       g   \        pV'       d-   V\        Jd#   \        V4      V P                  ,          p\        pV P                  ! WV3RVRV/VB  K  	  Rp	V P                  WRV	R7       V P                  WRV	R7       R	# )
F_converts_pixelsTr*   r/   z7(bad|expected) screen distance ((or "" )?but got )?"{}"6xrO   rV   N)_rounds_pixels	_no_roundr"   roundr1   r   getattrr   r   r<   rF   )
r   r9   r:   r/   rI   rJ   r#   r*   conv1rD   s
   &&&$*,    r   checkPixelsParam#AbstractWidgetTest.checkPixelsParam   s    """dnn&<DS[DE HE%%%t%7>>EU#-*51DLL@H!EOOF% 2( 2!&2*02  KvT&AvVFCr%   c                   RpV'       d
   VR	,          pV P                   ! W.VO5!   RRP                  VRR
 4      : RVR
,          ;'       g    R: 2p\        R8  d   RpV P                  WRVR7       R# )flatzbad relief "{}": must be r   Nz, or r   rV   rO   )r   grooveraisedridgesolidsunkenr   r   r   )rK   r   r   rF   )r   r9   r:   re   rI   rD   s   &&&$  r   checkReliefParam#AbstractWidgetTest.checkReliefParam   su    IeOF//		&"+&r
""d"$ FvVFCr%   c                    \         P                  ! V P                  R R7      pV P                  WV\        R7       \
        R	8  d   RpMRpV P                  WRVR7       RW&   R# )
image1)masterr:   r/   zimage "spam" doesn't existzimage "spam" does not existrV   rO   r
   N)	   r   )r4   
PhotoImager   r<   r"   r   rF   )r   r9   r:   imagerD   s   &&&  r   checkImageParam"AbstractWidgetTest.checkImageParam   s]    ""$))(Ce#62F2FvV&, 	 	.r%   c                6    V P                  WV\        R 7       R# )r   N)r<   r"   )r   r9   r:   vars   &&&&r   checkVariableParam%AbstractWidgetTest.checkVariableParam   s    c4r%   c                   V P                  V4       V P                  V\        4       \        V4      ^8w  d   V P	                  RV: 24       V F1  p\        V\        4      '       d   K  V P	                  RV: 24        R# 	  R# )   zInvalid bounding box: N)assertIsNotNoneassertIsInstancer   r8   failr   int)r   bboxitems   && r   assertIsBoundingBox&AbstractWidgetTest.assertIsBoundingBox   sc    T"dE*t9>IID:;DdC((		>? r%   c                .   V P                  4       pVP                  4       pV P                  \        V4      \        VP	                  4       4      4       V F  pW,           K  	  \
        P                  P                  '       d   R RRRRRRRRR	R
R/p\        V4      p\        V P                  4      p\        W%,
          4       FL  pW49   d   WC,          V9   d   WC,          V9   d   K%  \        V P                  P                  : RV: R24       KN  	  R# R# )bdborderwidthbg
backgroundbgimgbackgroundimagefg
foregroundinvcmdinvalidcommandvcmdvalidatecommandz.OPTIONS doesn't contain ""N)createkeysr(   r   r7   testsupportverbosesetOPTIONSprint	__class____name__)r   r9   r   kaliasesr*   s   &     r   	test_keysAbstractWidgetTest.test_keys   s    {{}vf.>.>.@'ABAII  <<ml*l*)G t9D4<<(HDO,
d*
h.>>22A7 8	 -  r%   )r   r'   )#r   
__module____qualname____firstlineno___default_pixelsr   r   r   _allow_empty_justifypropertyr   r!   object__eq__r-   r1   r<   rF   rK   rS   r   rX   rc   rm   rt   r}   r   r   r   r   r   r   r   __static_attributes____classdictcell____classdict__s   @r   r	   r	      s     ONIJ ! ! 26&-- 0
1) 11"&1.
-;AD% DD44 41+D"D05D@DD!D*D4 D(
DE 
D	58 8r%   r	   c                   X   a  ] tR t^t o RtRtR tR tR tR t	R t
R tR tR	 tR
tV tR# )PixelOptionsTestsa  Standard options that accept all formats acceptable to Tk_GetPixels.

In addition to numbers, these options can be set with distances
specified as a string consisting of a number followed by a single
character giving the unit of distance. The allowed units are:
millimeters ('m'), centimeters ('c'), inches ('i') or points ('p').
In Tk 9 a cget call for one of these options returns a Tcl_Obj of
type "pixels", whose string representation is the distance string
passed to configure.
c           
     V    V P                  4       pV P                  VR ^ RR^RR4       R# )activeborderwidth?g333333@rP   Nr   r   r   r9   s   & r    test_configure_activeborderwidth2PixelOptionsTests.test_configure_activeborderwidth   s-    f&9c1b%	9r%   c           	         V P                  4       pV P                  VR ^ RR^R4       V P                  VR R4       RV P                  9   d3   V P                  VR^ RR^R4       V P                  VRR\        R7       R# R# )r   r   @rP   r   r[   Nr   )r   r   r<   r   r*   r   s   & r   test_configure_borderwidth,PixelOptionsTests.test_configure_borderwidth   sy    fmc1e	5r24<<!!&$3QFOOFD"xO@  r%   c           	     z    V P                  4       pV P                  VR ^ RR^R4       V P                  VR R4       R# )highlightthicknessr   r   rP   Nr   r   r   r<   r   s   & r   !test_configure_highlightthickness3PixelOptionsTests.test_configure_highlightthickness   s<    f&:c1e	5 4b9r%   c           	     z    V P                  4       pV P                  VR ^ RR^R4       V P                  VR R4       R# )insertborderwidthr   r   rP   Nr   r   r   s   & r    test_configure_insertborderwidth2PixelOptionsTests.test_configure_insertborderwidth  s<    f&9c1e	5 3R8r%   c                R    V P                  4       pV P                  VR RRRR4       R# )insertwidthr   r   rP   Nr   r   r   s   & r   test_configure_insertwidth,PixelOptionsTests.test_configure_insertwidth  s%    fmS#r5Ir%   c                x    V P                  4       pV P                  VR ^RRR4       V P                  VR R4       R# )padx皙@ffffff@12mNr   r   r   s   & r   test_configure_padx%PixelOptionsTests.test_configure_padx  5    ffac5A+r%   c                x    V P                  4       pV P                  VR ^RRR4       V P                  VR R4       R# )padyr   r   r   Nr   r   r   s   & r   test_configure_pady%PixelOptionsTests.test_configure_pady  r  r%   c                R    V P                  4       pV P                  VR RRRR4       R# )selectborderwidthr   r   rP   Nr   r   r   s   & r    test_configure_selectborderwidth2PixelOptionsTests.test_configure_selectborderwidth  s&    f&93ROr%   rx   N)r   r   r   r   r   r   r  r  )r   r   r   r   __doc__PIXEL_OPTIONSr   r   r   r   r   r   r  r  r   r   r   s   @r   r   r      sC     	OM9
A:9J,
,
P Pr%   r   c                     a  ] tR tRt o R5]P
                  ,           tR tR tR t	R t
R t]! ^^4      R 4       tR tR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tR tR t]! ^^4      R 4       t]! ^^4      R 4       tR t R t!R t"R t#R t$R t%R  t&R! t'R" t(R# t)]! ^^4      R$ 4       t*R% t+R& t,R' t-R( t.R) t/R* t0R+ t1R, t2R- t3R. t4R/ t5R0 t6R1 t7R2 t8R3t9V t:R4# )6StandardOptionsTestsi  c                J    V P                  4       pV P                  VR 4       R# )activebackgroundNr   rm   r   s   & r   test_configure_activebackground4StandardOptionsTests.test_configure_activebackground)      V%78r%   c                J    V P                  4       pV P                  VR 4       R# )activeforegroundNr  r   s   & r   test_configure_activeforeground4StandardOptionsTests.test_configure_activeforeground-  r  r%   c                J    V P                  4       pV P                  VR 4       R# )activereliefNr   r   r   s   & r   test_configure_activerelief0StandardOptionsTests.test_configure_activerelief1  s    fn5r%   c                \    V P                  4       pV P                  VR RRRRRRRRR	4       R
# )anchornneesesswwnwcenterNr   r   r   s   & r   test_configure_anchor*StandardOptionsTests.test_configure_anchor5  s3    FHT3c4dH	Fr%   c                    V P                  4       pV P                  VR 4       RV P                  9   d   V P                  VR4       R# R# )r   r   Nr   rm   r   r   s   & r   test_configure_background.StandardOptionsTests.test_configure_background:  >    V\24<<  .  r%   c                J    V P                  4       pV P                  VR 4       R# )r   Nr   r   r   s   & r   test_configure_backgroundimage3StandardOptionsTests.test_configure_backgroundimage@  s    V%67r%   c                   V P                  4       pV P                  VR R4       V P                  VR R4       \        P                  P	                  RRR7      pV P                  VR RV,           4       RV P
                  P                  P                  RR	4      9   d    R
V P
                  P                  4       9   g   V P                  VR RRR7       R# R# )bitmap	questheadgray50z
python.xbmtkinterdata)subdir@aquar   windowingsystemAppKitrV   zbitmap "spam" not definedrO   N)
r   r<   r   r   findfiler   r   r   winfo_serverrF   )r   r9   filenames   &  r   test_configure_bitmap*StandardOptionsTests.test_configure_bitmapE  s    +6(3<<((m(L#.9 $)),,++D2CDDDII2244""68V6 # 8 5r%   c           
     V    V P                  4       pV P                  VR RRRRRR4       R# )compoundbottomr'  leftrs   righttopNr(  r   s   & r   test_configure_compound,StandardOptionsTests.test_configure_compoundR  s-    FJ(FFGU	Dr%   c                J    V P                  4       pV P                  VR 4       R# )cursorN)r   rt   r   s   & r   test_configure_cursor*StandardOptionsTests.test_configure_cursorW      fh/r%   c                J    V P                  4       pV P                  VR 4       R# )disabledforegroundNr  r   s   & r   !test_configure_disabledforeground6StandardOptionsTests.test_configure_disabledforeground[  s    V%9:r%   c                J    V P                  4       pV P                  VR 4       R# )exportselectionNr   rc   r   s   & r   test_configure_exportselection3StandardOptionsTests.test_configure_exportselection_  s    v'89r%   c                    V P                  4       pV P                  VR R4       VP                  P                  R8H  pV'       g   RpV P	                  VR RVR7       R# R# )fontz3-Adobe-Helvetica-Medium-R-Normal--*-120-*-*-*-*-*-*tkinter.ttkzfont "" does ?n[o']t existr
   rO   N)r   r<   r   r   rF   r   r9   is_ttkrD   s   &   r   test_configure_font(StandardOptionsTests.test_configure_fontc  s[    M	O!!,,=2F""662f"E r%   c                    V P                  4       pV P                  VR 4       RV P                  9   d   V P                  VR4       R# R# )r   r   Nr,  r   s   & r   test_configure_foreground.StandardOptionsTests.test_configure_foregroundl  r/  r%   c                J    V P                  4       pV P                  VR 4       R# )highlightbackgroundNr  r   s   & r   "test_configure_highlightbackground7StandardOptionsTests.test_configure_highlightbackgroundr  s    V%:;r%   c                J    V P                  4       pV P                  VR 4       R# )highlightcolorNr  r   s   & r   test_configure_highlightcolor2StandardOptionsTests.test_configure_highlightcolorv  s    V%56r%   c                J    V P                  4       pV P                  VR 4       R# )r   Nr1  r   s   & r   test_configure_image)StandardOptionsTests.test_configure_imagez  s    VW-r%   c                J    V P                  4       pV P                  VR 4       R# )insertbackgroundNr  r   s   & r   test_configure_insertbackground4StandardOptionsTests.test_configure_insertbackground~  r  r%   c                L    V P                  4       pV P                  VR ^d4       R# )insertofftimeNr   rS   r   s   & r   test_configure_insertofftime1StandardOptionsTests.test_configure_insertofftime  s    v<r%   c                L    V P                  4       pV P                  VR ^d4       R# )insertontimeNrt  r   s   & r   test_configure_insertontime0StandardOptionsTests.test_configure_insertontime  s    v~s;r%   c                J    V P                  4       pV P                  VR 4       R# )jumpNrV  r   s   & r   test_configure_jump(StandardOptionsTests.test_configure_jump  s    vv.r%   c                    V P                  4       pRpV P                  '       d
   VR,          pV P                  ! VR.VO5RR/  R# )rF  justifyr   justificationN)rF  rG  r'  r   )r   r   r   )r   r9   rI   s   &  r   test_configure_justify+StandardOptionsTests.test_configure_justify  sH    ,$$$eOFFI 	6 	6%4	6r%   c                    V P                  4       pV P                  \        VR ,          4      V P                  4       V P	                  VR RR4       R# )orient
horizontalverticalN)r   r(   r"   default_orientr   r   s   & r   test_configure_orient*StandardOptionsTests.test_configure_orient  sA    VH-.0C0CDFHlJGr%   c                L    V P                  4       pV P                  VR R4       R# )placeholderxxxNr   r<   r   s   & r   test_configure_placeholder/StandardOptionsTests.test_configure_placeholder  s    u5r%   c                J    V P                  4       pV P                  VR 4       R# )placeholderforegroundNr  r   s   & r   $test_configure_placeholderforeground9StandardOptionsTests.test_configure_placeholderforeground  s    V%<=r%   c                J    V P                  4       pV P                  VR 4       R# )reliefNr  r   s   & r   test_configure_relief*StandardOptionsTests.test_configure_relief  rO  r%   c                N    V P                  4       pV P                  VR RR4       R# )repeatdelay  Nrt  r   s   & r   test_configure_repeatdelay/StandardOptionsTests.test_configure_repeatdelay  s!    v}dC@r%   c                N    V P                  4       pV P                  VR RR4       R# )repeatintervalr  Nr  rt  r   s   & r   test_configure_repeatinterval2StandardOptionsTests.test_configure_repeatinterval  s"    v'7sCr%   c                J    V P                  4       pV P                  VR 4       R# )selectbackgroundNr  r   s   & r   test_configure_selectbackground4StandardOptionsTests.test_configure_selectbackground  r  r%   c                J    V P                  4       pV P                  VR 4       R# )selectforegroundNr  r   s   & r   test_configure_selectforeground4StandardOptionsTests.test_configure_selectforeground  r  r%   c                J    V P                  4       pV P                  VR 4       R# )setgridNrV  r   s   & r   test_configure_setgrid+StandardOptionsTests.test_configure_setgrid      vy1r%   c                P    V P                  4       pV P                  VR RRR4       R# )stateactivedisablednormalNr(  r   s   & r   test_configure_state)StandardOptionsTests.test_configure_state  s#    FGXz8Lr%   c                P    V P                  4       pV P                  VR RRR4       R# )	takefocus01r
   Nr   rK   r   s   & r   test_configure_takefocus-StandardOptionsTests.test_configure_takefocus  s#    c3;r%   c                N    V P                  4       pV P                  VR RR4       R# )textr
   z
any stringNr  r   s   & r   test_configure_text(StandardOptionsTests.test_configure_text  s!    \:r%   c                    V P                  4       p\        P                  ! V P                  4      pV P	                  VR V4       R# )textvariableN)r   r4   	StringVarr   r   r   r9   r   s   &  r   test_configure_textvariable0StandardOptionsTests.test_configure_textvariable  s3    		*<r%   c                J    V P                  4       pV P                  VR 4       R# )tileNrV  r   s   & r   test_configure_tile(StandardOptionsTests.test_configure_tile  s    vv.r%   c                J    V P                  4       pV P                  VR 4       R# )troughcolorNr  r   s   & r   test_configure_troughcolor/StandardOptionsTests.test_configure_troughcolor      V]3r%   c                B   V P                  4       pV P                  VR ^ ^^
4       \        R8  d   VP                  P                  R8H  pT P                  TR RV'       d   RMV P                  R7       T P                  TR RV'       d   RM^R7       T P                  TR RV'       d   RM^R7       V P                  VR RRR7       V P                  VR RRR7       RpMR	pV P                  VR RVR
7       V P                  VR RVR
7       V P                  VR RVR
7       R# )	underliner[  r
   r[   z5+2z5-2endzend-2zObad index "{}": must be integer\?\[\+-\]integer\?, end\?\[\+-\]integer\?, or ""rN   rO   rP   rQ   Nr      )r   rK   r   r   r   r<   r   rF   r\  s   &   r   test_configure_underline-StandardOptionsTests.test_configure_underline  s   aB7%%00MAFOOFK+1Rt7K7K  MOOFK.4U!  =OOFK.4U!  =OOFKOGOOFK7OK6F 5F""6;6"Jv{E&Iv{CGr%   c                L    V P                  4       pV P                  VR ^d4       R# )
wraplengthNr   r   s   & r   test_configure_wraplength.StandardOptionsTests.test_configure_wraplength  s    flC8r%   c                J    V P                  4       pV P                  VR 4       R# )xscrollcommandNr   r}   r   s   & r   test_configure_xscrollcommand2StandardOptionsTests.test_configure_xscrollcommand      v'78r%   c                J    V P                  4       pV P                  VR 4       R# )yscrollcommandNr  r   s   & r   test_configure_yscrollcommand2StandardOptionsTests.test_configure_yscrollcommand  r  r%   c                J    V P                  4       pV P                  VR 4       R# )rz   Nr  r   s   & r   test_configure_command+StandardOptionsTests.test_configure_command  r  r%   c                J    V P                  4       pV P                  VR 4       R# )indicatoronNrV  r   s   & r   test_configure_indicatoron/StandardOptionsTests.test_configure_indicatoron  s    v}5r%   c                J    V P                  4       pV P                  VR 4       R# )	offreliefNr  r   s   & r   test_configure_offrelief-StandardOptionsTests.test_configure_offrelief  s    fk2r%   c                \    V P                  4       pV P                  VR \        R8  R7       R# )
overrelief)re   Nr  )r   r   r   r   s   & r   test_configure_overrelief.StandardOptionsTests.test_configure_overrelief  s-    fl+5+? 	 	Br%   c                J    V P                  4       pV P                  VR 4       R# )selectcolorNr  r   s   & r   test_configure_selectcolor/StandardOptionsTests.test_configure_selectcolor  r  r%   c                J    V P                  4       pV P                  VR 4       R# )selectimageNr1  r   s   & r   test_configure_selectimage/StandardOptionsTests.test_configure_selectimage  r  r%   c                J    V P                  4       pV P                  VR 4       R# )tristateimageNr1  r   s   & r   test_configure_tristateimage1StandardOptionsTests.test_configure_tristateimage  s    V_5r%   c                L    V P                  4       pV P                  VR R4       R# )tristatevalue
unknowableNr  r   s   & r   test_configure_tristatevalue1StandardOptionsTests.test_configure_tristatevalue  s    >r%   c                    V P                  4       p\        P                  ! V P                  4      pV P	                  VR V4       R# )variableN)r   r4   	DoubleVarr   r   r  s   &  r   test_configure_variable,StandardOptionsTests.test_configure_variable  s3    		*
C8r%   rx   N)"r  r  r  r   r5  rD  rL  rQ  rU  rZ  r   rd  rh  r   ro  rs  rx  r|  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  );r   r   r   r   r   r  STANDARD_OPTIONSr  r  r  r)  r-  r   r2  rA  rI  rM  rR  rW  r^  ra  re  ri  rl  rp  ru  ry  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  r	  r   r   r   s   @r   r  r    sy    * ->,K,KL996F
/ A8 88D
0;:F/<7.9=</6H
 A6 6 A> >0AD992M<;=
 A/ /4H*999263B
446?9 9r%   r  c                   0   a  ] tR tRt o RtR tR tRtV tR# )IntegerSizeTestsi!  z:Tests widgets which only accept integral width and height.c                P    V P                  4       pV P                  VR ^dR^ 4       R# )heightNrt  r   s   & r   test_configure_height&IntegerSizeTests.test_configure_height#  s#    vxdA>r%   c                P    V P                  4       pV P                  VR RR^ 4       R# )width  Nnrt  r   s   & r   test_configure_width%IntegerSizeTests.test_configure_width'  s#    vwT1=r%   rx   N	r   r   r   r   r
  r  r  r   r   r   s   @r   r  r  !  s     E?> >r%   r  c                   0   a  ] tR tRt o RtR tR tRtV tR# )PixelSizeTestsi,  zATests widgets which accept screen distances for width and height.c           
     V    V P                  4       pV P                  VR ^dRRR^ R4       R# )r  gLY@gfffffY@3cNr  r   r   s   & r   r  $PixelSizeTests.test_configure_height.  s)    fhUE4DQr%   c           
     V    V P                  4       pV P                  VR RRRR^ R4       R# )r  r  gfffff6y@gIy@5iNr  r   r   s   & r   r  #PixelSizeTests.test_configure_width2  s)    fgsE5$4Pr%   rx   Nr  r   s   @r   r  r  ,  s     LRQ Qr%   r  c                     a  V 3R  lpV# )c           
        <a  S P                    Fn  pR V,           p\        S V4      '       d   K   S F-  p\        W24      '       g   K  \        S V\        W24      4        KQ  	  V3V 3R llpW$n        \        S W$4       Kp  	  S # )test_configure_c                 n   < V P                  4       pW!,           \        R V: RSP                  : 24      h)zOption "z" is not tested in )r   AssertionErrorr   )r   optionr9   clss   && r   r   4add_configure_tests.<locals>.decorator.<locals>.testE  s1    !%,.4cll.D E Er%   )r   hasattrsetattrr   r   )r(  r'  
methodnamesource_classr   source_classess   f    r   	decorator&add_configure_tests.<locals>.decorator;  sx    kkF*V3J3
++$2L|88Z ' AC	 %3 +1 E
 %/MC2 "  
r%   rx   )r.  r/  s   j r   add_configure_testsr1  7  s    $ r%   c                      \         P                  P                  '       d6   \        P                  ! 4       p \        R V P                  RR4      RR7       R# R# )zpatchlevel =info
patchlevelT)flushN)r   r   r   r4   Tclr   r   )tcls    r   setUpModuler8  O  s9    ||kkmnchhv|<DI r%   )r@   r4   test.test_tkinter.supportr   r   r   r   r   test.supportr   r   r1   r	   r   r  r  r  r1  r8  rx   r%   r   <module>r;     sn    
 ; ; H	
S8 S8j8P 8PtA9, A9H> >Q Q0Jr%   