()
| 38 | |
| 39 | |
| 40 | def test_utils_within_delta(): |
| 41 | d1 = datetime(2016, 1, 1, 12, 14, 1, 9) |
| 42 | d2 = d1.replace(microsecond=15) |
| 43 | |
| 44 | assert within_delta(d1, d2, timedelta(seconds=1)) |
| 45 | assert not within_delta(d1, d2, timedelta(microseconds=1)) |
| 46 | |
| 47 | |
| 48 | def test_utils_within_delta_with_negative_delta(): |
nothing calls this directly
no test coverage detected