Searched defs:TclError (Results 1 - 25 of 31) sorted by relevance

12

/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
H A Dtest_loadtk.py5 from Tkinter import Tcl, TclError namespace
14 self.assertRaises(TclError,tcl.winfo_geometry)
39 self.assertRaises(TclError, tcl.winfo_geometry)
40 self.assertRaises(TclError, tcl.loadtk)
H A Dtest_geometry_managers.py4 from Tkinter import TclError namespace
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, 'ba
[all...]
/external/python/cpython3/Lib/test/
H A Dtest_tix.py11 from tkinter import tix, TclError namespace
19 except TclError:
H A Dtest_ttk_guionly.py11 from _tkinter import TclError namespace
21 except TclError as msg:
H A Dtest_tcl.py13 from _tkinter import TclError namespace
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, tc
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_ttk_guionly.py18 from _tkinter import TclError namespace
26 except TclError as msg:
H A Dtest_tcl.py13 from _tkinter import TclError namespace
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, tc
[all...]
/external/python/cpython3/Lib/idlelib/
H A Dredirector.py1 from tkinter import TclError namespace
35 Since renaming to orig fails with TclError when orig already
116 except TclError:
H A Dsearch.py1 from tkinter import TclError namespace
57 except TclError:
H A Dcalltip_w.py6 from tkinter import Toplevel, Label, LEFT, SOLID, TclError namespace
69 except TclError:
H A Dsearchengine.py4 from tkinter import StringVar, BooleanVar, TclError namespace
221 except TclError:
H A Dreplace.py8 from tkinter import StringVar, TclError namespace
38 except TclError:
42 except TclError:
163 except TclError:
/external/python/cpython3/Lib/tkinter/test/test_tkinter/
H A Dtest_loadtk.py5 from tkinter import Tcl, TclError namespace
14 self.assertRaises(TclError,tcl.winfo_geometry)
40 self.assertRaises(TclError, tcl.winfo_geometry)
41 self.assertRaises(TclError, tcl.loadtk)
H A Dtest_geometry_managers.py4 from tkinter import TclError namespace
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, 'ba
[all...]
/external/python/cpython2/Lib/idlelib/
H A DWidgetRedirector.py2 from Tkinter import TclError namespace
36 Since renaming to orig fails with TclError when orig already
116 except TclError:
H A DCallTipWindow.py6 from Tkinter import Toplevel, Label, LEFT, SOLID, TclError namespace
69 except TclError:
H A DSearchEngine.py3 from Tkinter import StringVar, BooleanVar, TclError namespace
218 except TclError:
/external/python/cpython2/Lib/idlelib/idle_test/
H A Dtest_text.py5 from _tkinter import TclError namespace
175 self.assertRaises(TclError, compare, '2.2', 'op', '2.2')
H A Dtest_widgetredir.py8 from Tkinter import Tk, Text, TclError namespace
31 self.assertRaises(TclError, WidgetRedirector, self.text)
106 self.func.__init__(TclError())
117 # self.text.insert by having mock raise TclError.
118 self.func.__init__(TclError())
H A Dmock_tk.py88 from _tkinter import TclError namespace
136 raise TclError('bad text index "%s"' % index)
263 raise TclError('''bad comparison operator "%s":'''
H A Dtest_searchengine.py11 from Tkinter import BooleanVar, StringVar, TclError # ,Tk, Text namespace
18 # Replace s-e module tkinter imports other than non-gui TclError.
79 raise TclError
86 raise TclError
239 raise TclError
252 raise TclError
/external/python/cpython3/Lib/idlelib/idle_test/
H A Dtest_redirector.py8 from tkinter import Tk, Text, TclError namespace
31 self.assertRaises(TclError, WidgetRedirector, self.text)
107 self.func.__init__(TclError())
118 # self.text.insert by having mock raise TclError.
119 self.func.__init__(TclError())
H A Dtest_text.py7 from _tkinter import TclError namespace
177 self.assertRaises(TclError, compare, '2.2', 'op', '2.2')
H A Dmock_tk.py88 from _tkinter import TclError namespace
136 raise TclError('bad text index "%s"' % index) from None
263 raise TclError('''bad comparison operator "%s":'''
H A Dtest_searchengine.py11 from tkinter import BooleanVar, StringVar, TclError # ,Tk, Text namespace
18 # Replace s-e module tkinter imports other than non-gui TclError.
79 raise TclError
86 raise TclError
239 raise TclError
252 raise TclError

Completed in 2174 milliseconds

12