MCPcopy Create free account
hub / github.com/dateutil/dateutil / test_resolve_imaginary_existing

Function test_resolve_imaginary_existing

tests/test_tz.py:2851–2853  ·  view source on GitHub ↗
(tz_source, key, dt)

Source from the content-addressed store, hash-verified

2849 ],
2850)
2851def test_resolve_imaginary_existing(tz_source, key, dt):
2852 dt = dt.replace(tzinfo=_gettz(key))
2853 assert tz.resolve_imaginary(dt) is dt
2854
2855@pytest.mark.tz_resolve_imaginary
2856@pytest.mark.parametrize('dt', [

Callers

nothing calls this directly

Calls 2

_gettzFunction · 0.85
replaceMethod · 0.80

Tested by

no test coverage detected