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

Method testLondonForward

tests/test_tz.py:2796–2801  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2794 self.assertEqual(dt_act, dt_exp)
2795
2796 def testLondonForward(self):
2797 tzi = tz.gettz('Europe/London')
2798 dt = datetime(2018, 3, 25, 1, 30, tzinfo=tzi)
2799 dt_act = tz.resolve_imaginary(dt)
2800 dt_exp = datetime(2018, 3, 25, 2, 30, tzinfo=tzi)
2801 self.assertEqual(dt_act, dt_exp)
2802
2803 def testKyivForward(self):
2804 tzi = tz.gettz("Europe/Kyiv")

Callers

nothing calls this directly

Calls 1

gettzMethod · 0.45

Tested by

no test coverage detected