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

Method testTzNameNone

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

Source from the content-addressed store, hash-verified

695 self.assertEqual(est, est_s)
696
697 def testTzNameNone(self):
698 gmt5 = tz.tzoffset(None, -18000) # -5:00
699 self.assertIs(datetime(2003, 10, 26, 0, 0, tzinfo=gmt5).tzname(),
700 None)
701
702 def testTimeOnlyOffset(self):
703 # tzoffset doesn't care

Callers

nothing calls this directly

Calls 2

tzoffsetMethod · 0.80
tznameMethod · 0.45

Tested by

no test coverage detected