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

Function test_to_rfc2822_string

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

Source from the content-addressed store, hash-verified

76
77
78def test_to_rfc2822_string():
79 d = pendulum.datetime(1975, 12, 25, 14, 15, 16, tz="local")
80 assert d.to_rfc2822_string() == "Thu, 25 Dec 1975 14:15:16 -0500"
81
82
83def test_to_rfc3339_string():

Callers

nothing calls this directly

Calls 2

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