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

Function test_to_date_string

tests/datetime/test_strings.py:15–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14
15def test_to_date_string():
16 d = pendulum.datetime(1975, 12, 25, 14, 15, 16)
17
18 assert d.to_date_string() == "1975-12-25"
19
20
21def test_to_formatted_date_string():

Callers

nothing calls this directly

Calls 2

to_date_stringMethod · 0.80
datetimeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…