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

Method testTzResLoadName

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

Source from the content-addressed store, hash-verified

2199 self.tzclass = tzwin.tzwin
2200
2201 def testTzResLoadName(self):
2202 # This may not work right on non-US locales.
2203 tzr = tzwin.tzres()
2204 self.assertEqual(tzr.load_name(112), "Eastern Standard Time")
2205
2206 def testTzResNameFromString(self):
2207 tzr = tzwin.tzres()

Callers

nothing calls this directly

Calls 1

load_nameMethod · 0.80

Tested by

no test coverage detected