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

Method testNoTzSpecified

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

Source from the content-addressed store, hash-verified

2623
2624class DatetimeExistsTest(unittest.TestCase):
2625 def testNoTzSpecified(self):
2626 with self.assertRaises(ValueError):
2627 tz.datetime_exists(datetime(2016, 4, 1, 2, 9))
2628
2629 def testInGapNaive(self):
2630 tzi = tz.gettz('Australia/Sydney')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected