()
| 16 | |
| 17 | |
| 18 | def test_years(): |
| 19 | pi = pendulum.duration(years=2) |
| 20 | assert_duration(pi, years=2, weeks=0) |
| 21 | assert pi.days == 730 |
| 22 | assert pi.total_seconds() == 63072000 |
| 23 | |
| 24 | |
| 25 | def test_months(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…