(self)
| 429 | self.do_exactly_equal_test(Decimal("11.68"), 0, Decimal("0.01")) |
| 430 | |
| 431 | def test_exactly_equal_both(self): |
| 432 | # Test that equal values are equal when both tol and rel are given. |
| 433 | for x in [41017, 16.742, -813.02, Fraction(3, 8)]: |
| 434 | self.do_exactly_equal_test(x, 0.1, 0.01) |
| 435 | D = Decimal |
| 436 | self.do_exactly_equal_test(D("7.2"), D("0.1"), D("0.01")) |
| 437 | |
| 438 | |
| 439 | class ApproxEqualUnequalTest(unittest.TestCase): |
nothing calls this directly
no test coverage detected