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

Function test_skipped_time_with_error

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

Source from the content-addressed store, hash-verified

82
83
84def test_skipped_time_with_error():
85 dt = datetime(2013, 3, 31, 2, 30, 45, 123456)
86 tz = timezone("Europe/Paris")
87 with pytest.raises(NonExistingTime):
88 tz.convert(dt, raise_on_unknown_times=True)
89
90
91def test_repeated_time():

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…