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

Function test_safe_timezone_with_tzinfo_objects

tests/test_main.py:59–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58
59def test_safe_timezone_with_tzinfo_objects() -> None:
60 tz = _safe_timezone(zoneinfo.ZoneInfo("Europe/Paris"))
61
62 assert isinstance(tz, Timezone)
63 assert tz.name == "Europe/Paris"

Callers

nothing calls this directly

Calls 1

_safe_timezoneFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…