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

Method testTzwinRepr

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

Source from the content-addressed store, hash-verified

2244 self.assertEqual(t_date.replace(tzinfo=tw).tzname(), expected)
2245
2246 def testTzwinRepr(self):
2247 tw = tz.tzwin('Yakutsk Standard Time')
2248 self.assertEqual(repr(tw), 'tzwin(' +
2249 repr('Yakutsk Standard Time') + ')')
2250
2251 def testTzWinEquality(self):
2252 # https://github.com/dateutil/dateutil/issues/151

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected