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

Function test_week_of_year

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

Source from the content-addressed store, hash-verified

91
92
93def test_week_of_year():
94 f = Formatter()
95 d = pendulum.datetime(2016, 8, 28)
96
97 assert f.format(d, "wo") == "34th"
98
99
100def test_day_of_week():

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…