Lines Matching refs:numeric
93 format(self.db.numeric(char, -1), '.12g'),
118 self.assertEqual(self.db.numeric('A',None), None)
119 self.assertEqual(self.db.numeric('9'), 9)
120 self.assertEqual(self.db.numeric('\u215b'), 0.125)
121 self.assertEqual(self.db.numeric('\u2468'), 9.0)
122 self.assertEqual(self.db.numeric('\ua627'), 7.0)
123 self.assertEqual(self.db.numeric('\U00020000', None), None)
124 self.assertEqual(self.db.numeric('\U0001012A'), 9000)
126 self.assertRaises(TypeError, self.db.numeric)
127 self.assertRaises(TypeError, self.db.numeric, 'xx')
128 self.assertRaises(ValueError, self.db.numeric, 'x')
269 self.assertEqual(dec, self.db.numeric(c))
282 self.assertEqual(dec, self.db.numeric(c))