(self)
| 3659 | self.assertRaises(TypeError, c.subtract, 1, '2') |
| 3660 | |
| 3661 | def test_to_eng_string(self): |
| 3662 | Decimal = self.decimal.Decimal |
| 3663 | Context = self.decimal.Context |
| 3664 | |
| 3665 | c = Context() |
| 3666 | d = c.to_eng_string(Decimal(10)) |
| 3667 | self.assertEqual(c.to_eng_string(10), d) |
| 3668 | self.assertRaises(TypeError, c.to_eng_string, '10') |
| 3669 | |
| 3670 | def test_to_sci_string(self): |
| 3671 | Decimal = self.decimal.Decimal |
nothing calls this directly
no test coverage detected