Searched refs:to_eng_string (Results 1 – 2 of 2) sorted by relevance
1431 self.assertEqual(type(d.to_eng_string()), str)2178 d = c.to_eng_string(Decimal(10))2179 self.assertEqual(c.to_eng_string(10), d)2180 self.assertRaises(TypeError, c.to_eng_string, '10')
1051 def to_eng_string(self, context=None): member in Decimal5312 def to_eng_string(self, a): member in Context5318 return a.to_eng_string(context=self)