(self)
| 3677 | self.assertRaises(TypeError, c.to_sci_string, '10') |
| 3678 | |
| 3679 | def test_to_integral_exact(self): |
| 3680 | Decimal = self.decimal.Decimal |
| 3681 | Context = self.decimal.Context |
| 3682 | |
| 3683 | c = Context() |
| 3684 | d = c.to_integral_exact(Decimal(10)) |
| 3685 | self.assertEqual(c.to_integral_exact(10), d) |
| 3686 | self.assertRaises(TypeError, c.to_integral_exact, '10') |
| 3687 | |
| 3688 | def test_to_integral_value(self): |
| 3689 | Decimal = self.decimal.Decimal |
nothing calls this directly
no test coverage detected