(self)
| 600 | self.assertFalse(approx_equal(inf, 1000)) |
| 601 | |
| 602 | def test_nan(self): |
| 603 | for type_ in (float, Decimal): |
| 604 | nan = type_('nan') |
| 605 | for other in (nan, type_('inf'), 1000): |
| 606 | self.assertFalse(approx_equal(nan, other)) |
| 607 | |
| 608 | def test_float_zeroes(self): |
| 609 | nzero = math.copysign(0.0, -1) |
nothing calls this directly
no test coverage detected