/external/python/cpython2/Lib/lib-tk/test/test_ttk/ |
D | test_widgets.py | 3 from Tkinter import TclError 76 self.assertRaises(tkinter.TclError, self.widget.identify, None, 5) 77 self.assertRaises(tkinter.TclError, self.widget.identify, 5, None) 78 self.assertRaises(tkinter.TclError, self.widget.identify, 5, '') 105 self.assertRaises(tkinter.TclError, self.widget.instate, 107 self.assertRaises(tkinter.TclError, self.widget.instate, 264 self.assertRaises(tkinter.TclError, cbtn.tk.globalgetvar, 325 self.assertRaises(tkinter.TclError, self.entry.bbox, 'noindex') 326 self.assertRaises(tkinter.TclError, self.entry.bbox, None) 337 self.assertRaises(tkinter.TclError, self.entry.identify, None, 5) [all …]
|
D | test_style.py | 47 self.assertRaises(tkinter.TclError, style.layout, 'NotALayout') 64 self.assertRaises(tkinter.TclError, style.layout, 'Treeview', 69 self.assertRaises(tkinter.TclError, self.style.theme_use,
|
D | test_extensions.py | 21 self.assertRaises(tkinter.TclError, x.tk.globalgetvar, var) 33 self.assertRaises(tkinter.TclError, x.tk.globalgetvar, name) 47 self.assertNotEqual(sys.last_type, tkinter.TclError) 115 self.assertRaises(tkinter.TclError, ttk.LabeledScale, master, a='b') 219 self.assertRaises(tkinter.TclError, optmenu.tk.globalgetvar, name) 223 self.assertRaises(tkinter.TclError, 269 self.assertRaises(tkinter.TclError, optmenu['menu'].invoke, -1)
|
/external/python/cpython3/Lib/tkinter/test/test_ttk/ |
D | test_widgets.py | 3 from tkinter import ttk, TclError 74 self.assertRaises(tkinter.TclError, self.widget.identify, None, 5) 75 self.assertRaises(tkinter.TclError, self.widget.identify, 5, None) 76 self.assertRaises(tkinter.TclError, self.widget.identify, 5, '') 103 self.assertRaises(tkinter.TclError, self.widget.instate, 105 self.assertRaises(tkinter.TclError, self.widget.instate, 262 self.assertRaises(tkinter.TclError, cbtn.tk.globalgetvar, 323 self.assertRaises(tkinter.TclError, self.entry.bbox, 'noindex') 324 self.assertRaises(tkinter.TclError, self.entry.bbox, None) 340 self.assertRaises(tkinter.TclError, self.entry.identify, None, 5) [all …]
|
D | test_extensions.py | 21 self.assertRaises(tkinter.TclError, x.tk.globalgetvar, var) 33 self.assertRaises(tkinter.TclError, x.tk.globalgetvar, name) 47 self.assertNotEqual(sys.last_type, tkinter.TclError) 79 self.assertRaises((ValueError, tkinter.TclError), x._variable.get) 111 self.assertRaises(tkinter.TclError, ttk.LabeledScale, master, a='b') 226 self.assertRaises(tkinter.TclError, optmenu.tk.globalgetvar, name) 230 self.assertRaises(tkinter.TclError, 276 self.assertRaises(tkinter.TclError, optmenu['menu'].invoke, -1)
|
D | test_style.py | 47 self.assertRaises(tkinter.TclError, style.layout, 'NotALayout') 64 self.assertRaises(tkinter.TclError, style.layout, 'Treeview', 69 self.assertRaises(tkinter.TclError, self.style.theme_use,
|
/external/python/cpython3/Lib/tkinter/test/test_tkinter/ |
D | test_geometry_managers.py | 4 from tkinter import TclError 29 with self.assertRaisesRegex(TclError, 'window "%s" isn\'t packed' % b): 31 with self.assertRaisesRegex(TclError, 'bad window path name ".foo"'): 62 with self.assertRaisesRegex(TclError, 'window "%s" isn\'t packed' % b): 64 with self.assertRaisesRegex(TclError, 'bad window path name ".foo"'): 111 with self.assertRaisesRegex(TclError, 114 with self.assertRaisesRegex(TclError, 'bad window path name ".foo"'): 229 with self.assertRaisesRegex(TclError, 'window "%s" isn\'t packed' % a): 295 with self.assertRaisesRegex(TclError, "can't place %s relative to " 300 with self.assertRaisesRegex(TclError, 'bad window path name'): [all …]
|
D | test_misc.py | 29 self.assertRaisesRegex(tkinter.TclError, 41 self.assertRaisesRegex(tkinter.TclError, 44 self.assertRaisesRegex(tkinter.TclError, 47 self.assertRaisesRegex(tkinter.TclError, 68 with self.assertRaises(tkinter.TclError): 83 with self.assertRaises(tkinter.TclError): 100 with self.assertRaises(tkinter.TclError): 115 with self.assertRaises(tkinter.TclError): 138 with self.assertRaises(tkinter.TclError): 141 with self.assertRaises(tkinter.TclError): [all …]
|
D | test_loadtk.py | 5 from tkinter import Tcl, TclError 14 self.assertRaises(TclError,tcl.winfo_geometry) 40 self.assertRaises(TclError, tcl.winfo_geometry) 41 self.assertRaises(TclError, tcl.loadtk)
|
D | test_text.py | 30 self.assertRaises(tkinter.TclError, text.search, None, '1.0') 31 self.assertRaises(tkinter.TclError, text.search, 'a', None) 32 self.assertRaises(tkinter.TclError, text.search, None, None) 35 self.assertRaises(tkinter.TclError, text.search, '', 0)
|
D | test_widgets.py | 3 from tkinter import TclError 275 with self.assertRaises(tkinter.TclError) as cm: 279 with self.assertRaises(tkinter.TclError) as cm: 472 self.assertRaises(tkinter.TclError, widget.bbox, 'noindex') 473 self.assertRaises(tkinter.TclError, widget.bbox, None) 634 self.assertRaises(tkinter.TclError, widget.bbox, 'noindex') 635 self.assertRaises(tkinter.TclError, widget.bbox, None) 748 with self.assertRaisesRegex(TclError, 'item number "0" out of range'): 756 with self.assertRaisesRegex(TclError, 'bad listbox index "red"'): 779 with self.assertRaisesRegex(TclError, 'unknown color name "spam"'): [all …]
|
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/ |
D | test_geometry_managers.py | 4 from Tkinter import TclError 29 with self.assertRaisesRegexp(TclError, 'window "%s" isn\'t packed' % b): 31 with self.assertRaisesRegexp(TclError, 'bad window path name ".foo"'): 62 with self.assertRaisesRegexp(TclError, 'window "%s" isn\'t packed' % b): 64 with self.assertRaisesRegexp(TclError, 'bad window path name ".foo"'): 111 with self.assertRaisesRegexp(TclError, 114 with self.assertRaisesRegexp(TclError, 'bad window path name ".foo"'): 229 with self.assertRaisesRegexp(TclError, 'window "%s" isn\'t packed' % a): 295 with self.assertRaisesRegexp(TclError, "can't place %s relative to " 300 with self.assertRaisesRegexp(TclError, 'bad window path name'): [all …]
|
D | test_misc.py | 27 with self.assertRaises(tkinter.TclError): 42 with self.assertRaises(tkinter.TclError): 59 with self.assertRaises(tkinter.TclError): 74 with self.assertRaises(tkinter.TclError): 97 with self.assertRaises(tkinter.TclError): 100 with self.assertRaises(tkinter.TclError): 112 with self.assertRaises(tkinter.TclError): 115 with self.assertRaises(tkinter.TclError):
|
D | test_loadtk.py | 5 from Tkinter import Tcl, TclError 14 self.assertRaises(TclError,tcl.winfo_geometry) 39 self.assertRaises(TclError, tcl.winfo_geometry) 40 self.assertRaises(TclError, tcl.loadtk)
|
D | test_text.py | 30 self.assertRaises(tkinter.TclError, text.search, None, '1.0') 31 self.assertRaises(tkinter.TclError, text.search, 'a', None) 32 self.assertRaises(tkinter.TclError, text.search, None, None) 35 self.assertRaises(tkinter.TclError, text.search, '', 0)
|
D | test_widgets.py | 3 from Tkinter import TclError 272 with self.assertRaises(tkinter.TclError) as cm: 276 with self.assertRaises(tkinter.TclError) as cm: 469 self.assertRaises(tkinter.TclError, widget.bbox, 'noindex') 470 self.assertRaises(tkinter.TclError, widget.bbox, None) 623 self.assertRaises(tkinter.TclError, widget.bbox, 'noindex') 624 self.assertRaises(tkinter.TclError, widget.bbox, None) 625 self.assertRaises(tkinter.TclError, widget.bbox) 626 self.assertRaises(tkinter.TclError, widget.bbox, '1.1', 'end') 737 with self.assertRaisesRegexp(TclError, 'item number "0" out of range'): [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_tcl.py | 13 from _tkinter import TclError 63 self.assertRaises(TclError,tcl.eval,'set a') 67 self.assertRaises(TclError,tcl.eval,'this is wrong') 76 self.assertRaises(TclError,tcl.call,'set','a') 80 self.assertRaises(TclError,tcl.call,'this','is','wrong') 104 self.assertRaises(TclError,tcl.getvar,'a') 108 self.assertRaises(TclError,tcl.getvar,'a(1)') 129 self.assertRaises(TclError,tcl.unsetvar,'a') 148 self.assertRaises(TclError, tcl.getint, str(2**1000)) 154 self.assertRaises(TclError, tcl.getint, 'a') [all …]
|
D | test_tix.py | 11 from tkinter import tix, TclError 19 except TclError:
|
D | test_ttk_guionly.py | 11 from _tkinter import TclError 21 except TclError as msg:
|
/external/python/cpython2/Lib/test/ |
D | test_tcl.py | 13 from _tkinter import TclError 59 self.assertRaises(TclError,tcl.eval,'set a') 63 self.assertRaises(TclError,tcl.eval,'this is wrong') 72 self.assertRaises(TclError,tcl.call,'set','a') 76 self.assertRaises(TclError,tcl.call,'this','is','wrong') 100 self.assertRaises(TclError,tcl.getvar,'a') 104 self.assertRaises(TclError,tcl.getvar,'a(1)') 125 self.assertRaises(TclError,tcl.unsetvar,'a') 148 self.assertRaises(TclError, tcl.getint, str(2**1000)) 153 self.assertRaises(TclError, tcl.getint, 'a') [all …]
|
/external/python/cpython3/Lib/idlelib/ |
D | tooltip.py | 39 except TclError: 78 except TclError: 108 except TclError: 140 except TclError:
|
D | window.py | 1 from tkinter import Toplevel, TclError 29 except TclError: 90 except TclError:
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
D | test_widgetredir.py | 8 from Tkinter import Tk, Text, TclError 31 self.assertRaises(TclError, WidgetRedirector, self.text) 106 self.func.__init__(TclError()) 118 self.func.__init__(TclError())
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_redirector.py | 6 from tkinter import Tk, Text, TclError 29 self.assertRaises(TclError, WidgetRedirector, self.text) 105 self.func.__init__(TclError()) 117 self.func.__init__(TclError())
|
/external/python/cpython2/Demo/tkinter/guido/ |
D | AttrDialog.py | 160 except TclError, msg: 216 except TclError, msg: 243 except TclError, msg: 289 except TclError, msg: 378 except TclError, msg: 402 except TclError, msg: 449 except TclError, msg:
|