Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
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
154
def
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
161
def
test_second():
Callers
nothing calls this directly
Calls
3
format
Method · 0.95
Formatter
Class · 0.90
datetime
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…