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

Function test_local

tests/datetime/test_getters.py:116–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114
115
116def test_local():
117 assert pendulum.datetime(2012, 1, 1, tz="America/Toronto").is_local()
118 assert pendulum.datetime(2012, 1, 1, tz="America/New_York").is_local()
119 assert not pendulum.datetime(2012, 1, 1, tz="UTC").is_local()
120 assert not pendulum.datetime(2012, 1, 1, tz="Europe/London").is_local()
121
122
123def test_utc():

Callers

nothing calls this directly

Calls 2

is_localMethod · 0.80
datetimeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…