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

Method testTzWinEquality

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

Source from the content-addressed store, hash-verified

2249 repr('Yakutsk Standard Time') + ')')
2250
2251 def testTzWinEquality(self):
2252 # https://github.com/dateutil/dateutil/issues/151
2253 tzwin_names = ('Eastern Standard Time',
2254 'West Pacific Standard Time',
2255 'Yakutsk Standard Time',
2256 'Iran Standard Time',
2257 'UTC')
2258
2259 for tzwin_name in tzwin_names:
2260 # Get two different instances to compare
2261 tw1 = tz.tzwin(tzwin_name)
2262 tw2 = tz.tzwin(tzwin_name)
2263
2264 self.assertEqual(tw1, tw2)
2265
2266 def testTzWinInequality(self):
2267 # https://github.com/dateutil/dateutil/issues/151

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected