• Home
  • Raw
  • Download

Lines Matching refs:TclError

13 from _tkinter import TclError
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, tcl.getint, 'a')
154 self.assertRaises((TypeError, ValueError, TclError),
158 self.assertRaises((UnicodeEncodeError, ValueError, TclError),
169 self.assertRaises(TclError, tcl.getdouble, 'a')
170 self.assertRaises((TypeError, ValueError, TclError),
174 self.assertRaises((UnicodeEncodeError, ValueError, TclError),
190 self.assertRaises(TclError, tcl.getboolean, 'a')
191 self.assertRaises((TypeError, ValueError, TclError),
195 self.assertRaises((UnicodeEncodeError, ValueError, TclError),
233 self.assertRaises(TclError,tcl.evalfile,filename)
237 self.assertRaises(TclError,tcl.eval,'package require DNE')
287 self.assertRaises(TclError, tcl.exprstring, 'spam')
321 self.assertRaises(TclError, tcl.exprdouble, 'spam')
337 self.assertRaises(TclError, tcl.exprdouble, '"abc"')
352 self.assertRaises(TclError, tcl.exprlong, 'spam')
368 self.assertRaises(TclError, tcl.exprlong, '"abc"')
370 self.assertRaises(TclError, tcl.exprlong, '2**64')
384 self.assertRaises(TclError, tcl.exprboolean, 'spam')
408 self.assertRaises(TclError, tcl.exprboolean, '"abc"')
445 self.assertRaises(TclError, tcl.call, 'expr', str(2**1000))
580 self.assertRaises(TclError, splitlist, '{')