MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / test_minute

Function test_minute

tests/formatting/test_formatter.py:154–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152
153
154def test_minute():
155 f = Formatter()
156 d = pendulum.datetime(2016, 8, 28, 7, 3)
157 assert f.format(d, "m") == "3"
158 assert f.format(d, "mm") == "03"
159
160
161def test_second():

Callers

nothing calls this directly

Calls 3

formatMethod · 0.95
FormatterClass · 0.90
datetimeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…