MCPcopy Create free account
hub / github.com/python-pendulum/pendulum / test_all

Function test_all

tests/duration/test_in_words.py:20–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19
20def test_all():
21 pi = pendulum.duration(
22 years=2, months=3, days=1177, seconds=7284, microseconds=1000000
23 )
24
25 expected = "2 years 3 months 168 weeks 1 day 2 hours 1 minute 25 seconds"
26 assert pi.in_words() == expected
27
28
29def test_in_french():

Callers

nothing calls this directly

Calls 1

in_wordsMethod · 0.45

Tested by

no test coverage detected