/external/python/cpython2/Lib/lib-tk/test/test_tkinter/ |
H A D | test_loadtk.py | 5 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 D | test_geometry_managers.py | 4 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 D | test_tix.py | 11 from tkinter import tix, TclError namespace 19 except TclError:
|
H A D | test_ttk_guionly.py | 11 from _tkinter import TclError namespace 21 except TclError as msg:
|
H A D | test_tcl.py | 13 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 D | test_ttk_guionly.py | 18 from _tkinter import TclError namespace 26 except TclError as msg:
|
H A D | test_tcl.py | 13 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 D | redirector.py | 1 from tkinter import TclError namespace 35 Since renaming to orig fails with TclError when orig already 116 except TclError:
|
H A D | search.py | 1 from tkinter import TclError namespace 57 except TclError:
|
H A D | calltip_w.py | 6 from tkinter import Toplevel, Label, LEFT, SOLID, TclError namespace 69 except TclError:
|
H A D | searchengine.py | 4 from tkinter import StringVar, BooleanVar, TclError namespace 221 except TclError:
|
H A D | replace.py | 8 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 D | test_loadtk.py | 5 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 D | test_geometry_managers.py | 4 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 D | WidgetRedirector.py | 2 from Tkinter import TclError namespace 36 Since renaming to orig fails with TclError when orig already 116 except TclError:
|
H A D | CallTipWindow.py | 6 from Tkinter import Toplevel, Label, LEFT, SOLID, TclError namespace 69 except TclError:
|
H A D | SearchEngine.py | 3 from Tkinter import StringVar, BooleanVar, TclError namespace 218 except TclError:
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
H A D | test_text.py | 5 from _tkinter import TclError namespace 175 self.assertRaises(TclError, compare, '2.2', 'op', '2.2')
|
H A D | test_widgetredir.py | 8 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 D | mock_tk.py | 88 from _tkinter import TclError namespace 136 raise TclError('bad text index "%s"' % index) 263 raise TclError('''bad comparison operator "%s":'''
|
H A D | test_searchengine.py | 11 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 D | test_redirector.py | 8 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 D | test_text.py | 7 from _tkinter import TclError namespace 177 self.assertRaises(TclError, compare, '2.2', 'op', '2.2')
|
H A D | mock_tk.py | 88 from _tkinter import TclError namespace 136 raise TclError('bad text index "%s"' % index) from None 263 raise TclError('''bad comparison operator "%s":'''
|
H A D | test_searchengine.py | 11 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
|