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

Function test_separator

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

Source from the content-addressed store, hash-verified

53
54
55def test_separator():
56 pi = pendulum.duration(days=1177, seconds=7284, microseconds=1000000)
57
58 expected = "168 weeks, 1 day, 2 hours, 1 minute, 25 seconds"
59 assert pi.in_words(separator=", ") == expected
60
61
62def test_subseconds():

Callers

nothing calls this directly

Calls 1

in_wordsMethod · 0.45

Tested by

no test coverage detected