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