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

Function test_subseconds

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

Source from the content-addressed store, hash-verified

60
61
62def test_subseconds():
63 pi = pendulum.duration(microseconds=123456)
64
65 assert pi.in_words() == "0.12 seconds"
66
67
68def test_subseconds_with_seconds():

Callers

nothing calls this directly

Calls 1

in_wordsMethod · 0.45

Tested by

no test coverage detected