Lines Matching refs:TclError
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')
155 self.assertRaises((TypeError, ValueError, TclError),
157 self.assertRaises((UnicodeEncodeError, ValueError, TclError),
169 self.assertRaises(TclError, tcl.getdouble, 'a')
170 self.assertRaises((TypeError, ValueError, TclError),
172 self.assertRaises((UnicodeEncodeError, ValueError, TclError),
185 self.assertRaises(TclError, tcl.getboolean, 'a')
186 self.assertRaises((TypeError, ValueError, TclError),
188 self.assertRaises((UnicodeEncodeError, ValueError, TclError),
223 self.assertRaises(TclError,tcl.evalfile,filename)
227 self.assertRaises(TclError,tcl.eval,'package require DNE')
263 self.assertRaises(TclError, tcl.exprstring, 'spam')
298 self.assertRaises(TclError, tcl.exprdouble, 'spam')
314 self.assertRaises(TclError, tcl.exprdouble, '"abc"')
330 self.assertRaises(TclError, tcl.exprlong, 'spam')
346 self.assertRaises(TclError, tcl.exprlong, '"abc"')
348 self.assertRaises(TclError, tcl.exprlong, '2**64')
363 self.assertRaises(TclError, tcl.exprboolean, 'spam')
387 self.assertRaises(TclError, tcl.exprboolean, '"abc"')
422 self.assertRaises(TclError, tcl.call, 'expr', str(2**1000))
566 self.assertRaises(TclError, splitlist, '{')