(self)
| 3668 | self.assertRaises(TypeError, c.to_eng_string, '10') |
| 3669 | |
| 3670 | def test_to_sci_string(self): |
| 3671 | Decimal = self.decimal.Decimal |
| 3672 | Context = self.decimal.Context |
| 3673 | |
| 3674 | c = Context() |
| 3675 | d = c.to_sci_string(Decimal(10)) |
| 3676 | self.assertEqual(c.to_sci_string(10), d) |
| 3677 | self.assertRaises(TypeError, c.to_sci_string, '10') |
| 3678 | |
| 3679 | def test_to_integral_exact(self): |
| 3680 | Decimal = self.decimal.Decimal |
nothing calls this directly
no test coverage detected