()
| 27 | |
| 28 | |
| 29 | def test_in_french(): |
| 30 | pi = pendulum.duration( |
| 31 | years=2, months=3, days=1177, seconds=7284, microseconds=1000000 |
| 32 | ) |
| 33 | |
| 34 | expected = "2 ans 3 mois 168 semaines 1 jour 2 heures 1 minute 25 secondes" |
| 35 | assert pi.in_words(locale="fr") == expected |
| 36 | |
| 37 | |
| 38 | def test_repr(): |