#NEWLINE# def test_tabs( self ) : #NEWLINE# #INDENT# widget = self . create ( ) #NEWLINE# if ( get_tk_patchlevel ( ) < ( 8 , 5 , 11 ) ) : #NEWLINE# #INDENT# self . checkParam ( widget , 'tabs' , ( 10.2 , 20.7 , '1i' , '2i' ) , expected = ( '10.2' , '20.7' , '1i' , '2i' ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . checkParam ( widget , 'tabs' , ( 10.2 , 20.7 , '1i' , '2i' ) ) #NEWLINE# #UNINDENT# self . checkParam ( widget , 'tabs' , '10.2 20.7 1i 2i' , expected = ( '10.2' , '20.7' , '1i' , '2i' ) ) #NEWLINE# self . checkParam ( widget , 'tabs' , '2c left 4c 6c center' , expected = ( '2c' , 'left' , '4c' , '6c' , 'center' ) ) #NEWLINE# self . checkInvalidParam ( widget , 'tabs' , 'spam' , errmsg = 'bad screen distance "spam"' , keep_orig = ( tcl_version >= ( 8 , 5 ) ) )