Lines Matching refs:TclError

14 from _tkinter import TclError
64 self.assertRaises(TclError,tcl.eval,'set a')
68 self.assertRaises(TclError,tcl.eval,'this is wrong')
77 self.assertRaises(TclError,tcl.call,'set','a')
81 self.assertRaises(TclError,tcl.call,'this','is','wrong')
105 self.assertRaises(TclError,tcl.getvar,'a')
109 self.assertRaises(TclError,tcl.getvar,'a(1)')
130 self.assertRaises(TclError,tcl.unsetvar,'a')
149 self.assertRaises(TclError, tcl.getint, str(2**1000))
155 self.assertRaises(TclError, tcl.getint, 'a')
156 self.assertRaises((TypeError, ValueError, TclError),
158 self.assertRaises((UnicodeEncodeError, ValueError, TclError),
170 self.assertRaises(TclError, tcl.getdouble, 'a')
171 self.assertRaises((TypeError, ValueError, TclError),
173 self.assertRaises((UnicodeEncodeError, ValueError, TclError),
186 self.assertRaises(TclError, tcl.getboolean, 'a')
187 self.assertRaises((TypeError, ValueError, TclError),
189 self.assertRaises((UnicodeEncodeError, ValueError, TclError),
224 self.assertRaises(TclError,tcl.evalfile,filename)
228 self.assertRaises(TclError,tcl.eval,'package require DNE')
264 self.assertRaises(TclError, tcl.exprstring, 'spam')
299 self.assertRaises(TclError, tcl.exprdouble, 'spam')
315 self.assertRaises(TclError, tcl.exprdouble, '"abc"')
331 self.assertRaises(TclError, tcl.exprlong, 'spam')
347 self.assertRaises(TclError, tcl.exprlong, '"abc"')
349 self.assertRaises(TclError, tcl.exprlong, '2**64')
364 self.assertRaises(TclError, tcl.exprboolean, 'spam')
388 self.assertRaises(TclError, tcl.exprboolean, '"abc"')
423 self.assertRaises(TclError, tcl.call, 'expr', str(2**1000))
572 self.assertRaises(TclError, splitlist, '{')