Lines Matching refs:getdouble
180 self.assertEqual(tcl.getdouble(' 42 '), 42.0)
181 self.assertEqual(tcl.getdouble(' 42.5 '), 42.5)
182 self.assertEqual(tcl.getdouble(42.5), 42.5)
183 self.assertEqual(tcl.getdouble(42), 42.0)
184 self.assertRaises(TypeError, tcl.getdouble)
185 self.assertRaises(TypeError, tcl.getdouble, '42.5', '10')
186 self.assertRaises(TypeError, tcl.getdouble, b'42.5')
187 self.assertRaises(TclError, tcl.getdouble, 'a')
189 tcl.getdouble, '42.5\0')
191 tcl.getdouble, '42.5\ud800')
770 self.assertRaises(OverflowError, tk.getdouble, value)