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

Method testTzResLoadName

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

Source from the content-addressed store, hash-verified

2124 self.tzclass = tzwin.tzwin
2125
2126 def testTzResLoadName(self):
2127 # This may not work right on non-US locales.
2128 tzr = tzwin.tzres()
2129 self.assertEqual(tzr.load_name(112), "Eastern Standard Time")
2130
2131 def testTzResNameFromString(self):
2132 tzr = tzwin.tzres()

Callers

nothing calls this directly

Calls 1

load_nameMethod · 0.80

Tested by

no test coverage detected