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

Function test_to_iso8601_string

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

Source from the content-addressed store, hash-verified

41
42
43def test_to_iso8601_string():
44 d = pendulum.datetime(1975, 12, 25, 14, 15, 16, tz="local")
45 assert d.to_iso8601_string() == "1975-12-25T14:15:16-05:00"
46
47
48def test_to_iso8601_string_utc():

Callers

nothing calls this directly

Calls 2

to_iso8601_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…