#NEWLINE# def test_bbox( self ) : #NEWLINE# #INDENT# widget = self . create ( ) #NEWLINE# self . assertIsBoundingBox ( widget . bbox ( '1.1' ) ) #NEWLINE# self . assertIsNone ( widget . bbox ( 'end' ) ) #NEWLINE# self . assertRaises ( tkinter . TclError , widget . bbox , 'noindex' ) #NEWLINE# self . assertRaises ( tkinter . TclError , widget . bbox , None ) #NEWLINE# self . assertRaises ( tkinter . TclError , widget . bbox ) #NEWLINE# self . assertRaises ( tkinter . TclError , widget . bbox , '1.1' , 'end' )