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

Function test_fromtimestamp

tests/datetime/test_behavior.py:96–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94
95
96def test_fromtimestamp():
97 p = pendulum.DateTime.fromtimestamp(0, pendulum.UTC)
98 dt = datetime.fromtimestamp(0, pendulum.UTC)
99
100 assert p == dt
101
102
103def test_utcfromtimestamp():

Callers

nothing calls this directly

Calls 1

fromtimestampMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…