Lines Matching refs:numeric
93 str(self.db.numeric(char, -1)),
117 self.assertEqual(self.db.numeric(u'A',None), None)
118 self.assertEqual(self.db.numeric(u'9'), 9)
119 self.assertEqual(self.db.numeric(u'\u215b'), 0.125)
120 self.assertEqual(self.db.numeric(u'\u2468'), 9.0)
121 self.assertEqual(self.db.numeric(u'\ua627'), 7.0)
122 self.assertEqual(self.db.numeric(u'\U00020000', None), None)
124 self.assertRaises(TypeError, self.db.numeric)
125 self.assertRaises(TypeError, self.db.numeric, u'xx')
126 self.assertRaises(ValueError, self.db.numeric, u'x')
263 self.assertEqual(dec, self.db.numeric(c))
276 self.assertEqual(dec, self.db.numeric(c))