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

Function test_repeated_time_with_error

tests/tz/test_timezone.py:125–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123
124
125def test_repeated_time_with_error():
126 dt = datetime(2013, 10, 27, 2, 30, 45, 123456)
127 tz = timezone("Europe/Paris")
128 with pytest.raises(AmbiguousTime):
129 tz.convert(dt, raise_on_unknown_times=True)
130
131
132def test_pendulum_create_basic():

Callers

nothing calls this directly

Calls 3

timezoneFunction · 0.90
datetimeFunction · 0.85
convertMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…