(self)
| 3169 | self.assertRaises(TypeError, c.copy_decimal, '-1') |
| 3170 | |
| 3171 | def test_copy_negate(self): |
| 3172 | Decimal = self.decimal.Decimal |
| 3173 | Context = self.decimal.Context |
| 3174 | |
| 3175 | c = Context() |
| 3176 | d = c.copy_negate(Decimal(-1)) |
| 3177 | self.assertEqual(c.copy_negate(-1), d) |
| 3178 | self.assertRaises(TypeError, c.copy_negate, '-1') |
| 3179 | |
| 3180 | def test_copy_sign(self): |
| 3181 | Decimal = self.decimal.Decimal |
nothing calls this directly
no test coverage detected