(self)
| 3275 | self.assertRaises(TypeError, c.is_finite, '10') |
| 3276 | |
| 3277 | def test_is_infinite(self): |
| 3278 | Decimal = self.decimal.Decimal |
| 3279 | Context = self.decimal.Context |
| 3280 | |
| 3281 | c = Context() |
| 3282 | d = c.is_infinite(Decimal(10)) |
| 3283 | self.assertEqual(c.is_infinite(10), d) |
| 3284 | self.assertRaises(TypeError, c.is_infinite, '10') |
| 3285 | |
| 3286 | def test_is_nan(self): |
| 3287 | Decimal = self.decimal.Decimal |
nothing calls this directly
no test coverage detected