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

Method testLondonForward

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

Source from the content-addressed store, hash-verified

2713 self.assertEqual(dt_act, dt_exp)
2714
2715 def testLondonForward(self):
2716 tzi = tz.gettz('Europe/London')
2717 dt = datetime(2018, 3, 25, 1, 30, tzinfo=tzi)
2718 dt_act = tz.resolve_imaginary(dt)
2719 dt_exp = datetime(2018, 3, 25, 2, 30, tzinfo=tzi)
2720 self.assertEqual(dt_act, dt_exp)
2721
2722 def testKeivForward(self):
2723 tzi = tz.gettz('Europe/Kiev')

Callers

nothing calls this directly

Calls 1

gettzMethod · 0.45

Tested by

no test coverage detected