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

Method testDst

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

Source from the content-addressed store, hash-verified

641 self.assertEqual(ct.utcoffset(), timedelta(seconds=0))
642
643 def testDst(self):
644 ct = datetime(2009, 4, 1, 12, 11, 13, tzinfo=tz.tzutc())
645
646 self.assertEqual(ct.dst(), timedelta(seconds=0))
647
648 def testTzName(self):
649 ct = datetime(2009, 4, 1, 12, 11, 13, tzinfo=tz.tzutc())

Callers

nothing calls this directly

Calls 1

dstMethod · 0.45

Tested by

no test coverage detected