()
| 183 | |
| 184 | |
| 185 | def test_closest_with_date(): |
| 186 | instance = pendulum.Date(2015, 5, 28) |
| 187 | dt1 = date(2015, 5, 27) |
| 188 | dt2 = date(2015, 5, 30) |
| 189 | closest = instance.closest(dt1, dt2) |
| 190 | assert isinstance(closest, pendulum.Date) |
| 191 | assert_date(closest, 2015, 5, 27) |
| 192 | |
| 193 | |
| 194 | def test_closest_with_equals(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…