• Home
  • Raw
  • Download

Lines Matching refs:TclError

17 from _tkinter import TclError
77 self.assertRaises(TclError,tcl.eval,'set a')
81 self.assertRaises(TclError,tcl.eval,'this is wrong')
90 self.assertRaises(TclError,tcl.call,'set','a')
94 self.assertRaises(TclError,tcl.call,'this','is','wrong')
118 self.assertRaises(TclError,tcl.getvar,'a')
122 self.assertRaises(TclError,tcl.getvar,'a(1)')
143 self.assertRaises(TclError,tcl.unsetvar,'a')
166 self.assertRaises(TclError, tcl.getint, str(2**1000))
172 self.assertRaises(TclError, tcl.getint, 'a')
173 self.assertRaises((TypeError, ValueError, TclError),
175 self.assertRaises((UnicodeEncodeError, ValueError, TclError),
187 self.assertRaises(TclError, tcl.getdouble, 'a')
188 self.assertRaises((TypeError, ValueError, TclError),
190 self.assertRaises((UnicodeEncodeError, ValueError, TclError),
203 self.assertRaises(TclError, tcl.getboolean, 'a')
204 self.assertRaises((TypeError, ValueError, TclError),
206 self.assertRaises((UnicodeEncodeError, ValueError, TclError),
260 self.assertRaises(TclError,tcl.evalfile,filename)
264 self.assertRaises(TclError,tcl.eval,'package require DNE')
300 self.assertRaises(TclError, tcl.exprstring, 'spam')
335 self.assertRaises(TclError, tcl.exprdouble, 'spam')
351 self.assertRaises(TclError, tcl.exprdouble, '"abc"')
367 self.assertRaises(TclError, tcl.exprlong, 'spam')
383 self.assertRaises(TclError, tcl.exprlong, '"abc"')
385 self.assertRaises(TclError, tcl.exprlong, '2**64')
400 self.assertRaises(TclError, tcl.exprboolean, 'spam')
424 self.assertRaises(TclError, tcl.exprboolean, '"abc"')
459 self.assertRaises(TclError, tcl.call, 'expr', str(2**1000))
618 self.assertRaises(TclError, splitlist, '{')